?

Log in

No account? Create an account
Web server fail - 'Twas brillig, and the slithy toves did gyre and gimble in the wabe [entries|archive|friends|userinfo]
Thomas

[ website | Beware the Jabberwock... ]
[ deviantArt | the-boggyb ]
[ FanFiction | Torkell ]
[ Tumblr | torkellr ]

Links
[Random links| BBC news | Vulture Central | Slashdot | Dangerous Prototypes | LWN | Raspberry Pi]
[Fellow blogs| a Half Empty Glass | the Broken Cube | The Music Jungle | Please remove your feet | A letter from home]
[Other haunts| Un4seen Developments | Jazz 2 Online | EmuTalk.net | Feng's shui]

Web server fail [Saturday 9th February 2013 at 10:22 pm]
Thomas

boggyb
[Tags|]
[Feeling |amusedamused]
[Playing |Pan Galactic Gargoyle Blaster ~ Gargoyle [Pan Galactic Gargoyle Blaster.mo3]]

This is what happened when I clicked on a photo in a blog I read:

Now, you may be thinking that IE is doing something weird. But actually, IE is behaving exactly as it should. It's the server that's at fault:

HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Cache-Control: public,max-age=49317
Content-Disposition: attachment;filename=p.txt
Content-Type: image/jpeg; charset=UTF-8
Date: Sat, 09 Feb 2013 22:09:45 GMT
Expires: Sun, 10 Feb 2013 11:51:42 GMT
Via: HTTP/1.1 GWA
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Content-Length: 781118
X-Frame-Options: SAMEORIGIN
Server: GSE

Why yes, the server is telling the browser that it should save (not display) the image, and that the preferred filename is "p.txt". Glorious, isn't it?

Link | Previous Entry | Share | Next Entry[ Penny for your thoughts? ]