On 01/09/2012 04:38 PM, Andreas Ericsson wrote:
> On 11/28/2011 09:04 PM, Sven-G=F6ran Bergh wrote:
>> Content-type now is Text/csv, so the browser
>> presents a view/save dialog.
> How is this an improvement over just hitting Ctrl+S once the page
> has loaded?
Just to list two facts:
1. At least Firefox does a *RE*load of the URL when you save the page:
> # grep readme /var/log/httpd/ssl_access_log
> 192.168.51.57 - bern [09/Jan/2012:16:57:44 +0100] "GET /nagios/readme.t=
xt HTTP/1.1" 200 772
> 192.168.51.57 - bern [09/Jan/2012:16:57:54 +0100] "GET /nagios/readme.t=
xt HTTP/1.1" 200 772
2. There's no guarantee that the saved version is *identical* to the
actual server-provided one (though I admit that so far, I've seen only
*HTML* getting majorily reformatted).
> I know there are parsers out there that handle the Nagios-style CSV for=
mat
All the more reason to get the browser's rendering engine (?) out of the
data flow *before* there's funky text/plain browser-X-only
prettyprinting ...
Regards,
J. Bern
--=20
Jochen Bern, Systemingenieur --- LINworks GmbH
Postfach 100121, 64201 Darmstadt | Robert-Koch-Str. 9, 64331 Weiterstadt
PGP (1024D/4096g) FP =3D D18B 41B1 16C0 11BA 7F8C DCF7 E1D5 FAF4 444E 1C2=
7
Tel. +49 6151 9067-231, Zentr. -0, Fax -299 - Amtsg. Darmstadt HRB 85202
Unternehmenssitz Weiterstadt, Gesch=E4ftsf=FChrer Metin Dogan, Oliver Mic=
hel
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]