4 ms·
Warning: this takes you directly to a PDF which may automatically download (such as on Chrome for Android). — update: the title appears to now reflect that thi
by anw 10y ago
Warning: this takes you directly to a PDF which may automatically download (such as on Chrome for Android).
— update: the title appears to now reflect that this is a PDF. It did not earlier.
- peterwwillis 10y agoThe "[pdf]" in the HN story header indicates this.
- eriknstr 10y agoThe title already has the pdf tag and I think that's automatic so it was there when you clicked the link also. The server does not send the Content-Disposition [1] header, so if your browser auto-downloads the PDF then either you've made poor choices about your browser config or you have a browser that can't itself show PDFs, in which case you may have made a poor choice of browser. [1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Co...
- JadeNB 10y ago> if your browser auto-downloads the PDF then … you have a browser that can't itself show PDFs …. Surely a browser that shows PDFs itself downloads them in order to do so? (I don't know for sure what was bothering anw, but I'm often on a limited data connection, and, whether the PDF is displayed in my browser or dropped in the download folder, it hits my data allowance the same.)
- eriknstr 10y agoOf course it must be downloaded in order to display it. Obviously what I mean is that since they point out "auto-download" specifically I would think that they mean that it's saved to disk in your Downloads folder. Why this should be a problem somehow you'll have to ask them not me. If they file size was the concern, they would have said so. There are a lot of web pages that weigh in at more bytes than this PDF these days with all of their images and scripts and god-knows-what.
- tedunangst 10y agoIf a 100K download is of great concern, it's probably best not to click any link on HN. There are pages that have style sheets bigger than that.
- oherrala 10y agoI added the "[PDF]" in subject line when I posted the link.