POV-Ray : Newsgroups : povray.object-collection : Bad HTTP-headers in detail pages : Re: Bad HTTP-headers in detail pages Server Time
23 Apr 2024 23:39:19 EDT (-0400)
  Re: Bad HTTP-headers in detail pages  
From: Le Forgeron
Date: 22 Aug 2015 10:17:18
Message: <55d8846e$1@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Le 22/08/2015 10:44, Michael Scharrer a écrit :
> The detail pages for objects are re served with bad http headers 
> which causes them to be rendered as text files. Basically the html
>  source is shown. Example: 
> http://lib.povray.org/collection/roundedge/cousin%20ricky%201.3/rounde
dge.html
>
>
>
> 
The cause seems to be this line in the http header: "Content-Type:
> text/plain" Which should instead be "Content-Type: text/html" as is
> the case with all other pages on povray.org
> 
> This is how it looks for me: https://i.imgur.com/OSQBQjZ.png
> 

I will say: It is known, and was done on purpose to fight spam-bot.

The html file is rendered fine when looking at the local file, but not
on the server.

As stated already (2014-09-03), it's a shame, and would Internet be a
nicer place it wouldn't be so.

My best hint, but not a fix : have a look at

http://stackoverflow.com/questions/4807132/view-as-mime-type-in-chrome-o
r-firefox

> http://stackoverflow.com/questions/4807132/view-as-mime-type-in-chrome
- -or-firefox
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iJwEAQEIAAYFAlXYhG0ACgkQhKAm8mTpkW1hNAQAqlMTkolBLcaV9o2f8Uwsk1bR
KYI/7qiGIxSvUtkjEd2eSSIvzpCKoJLH+AXLwBNa3QBwQUBofAxTipyNnfdpD7GG
wGSYWtsvfTba4/w8ZLEKYYFGSWbODnxFUG2ZfdNoZlzAr0acQjbQne5W/MVSMcl4
j1Qq60kT7d5fD1GtvpY=
=Ydci
-----END PGP SIGNATURE-----


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.