[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: www.granroth.org == KWord doc?
From:       Graham TerMarsch <gtermars () home ! com>
Date:       2000-03-18 0:20:52
[Download RAW message or body]

Navindra Umanee wrote:
> Alex Zepeda <jazepeda@pacbell.net> wrote:
> > On Fri, 17 Mar 2000, Navindra Umanee wrote:
> > Nah. kio_http just needs to ignore the mimetype (well, pretty much any
> > data it receives) when it gets a Location header (esp in conjunction with
> > a 302 Moved response).
> 
> Sounds true enough, but the server's response still differs depending
> on what you put in the User-Agent field.
> 
> Try for example sending this:
[.....snip.....]

True, the server does respond differently depending on what User-Agent
field you provide.  As much as I hate seeing sites that do this sort of
browser-detection inside of the Webserver that then feed you customized
content because its a direct violation of the HTTP spec, there are tons
of them out there.  And, their server should be sending a "Content-type"
for redirection messages either as its completely unneeded.

Think its going to be a case of having to facilitate some fudginess
around the HTTP spec in order to deal with servers (or server-side apps)
that don't adhere to the spec themselves.  I'd vote for "If you see a
'Location' redirection header that you could safely ignore any
content-type or document body that you receive".

-- 
Graham TerMarsch

// -----------------------------------------------------------------
// You will have domestic happiness and faithful friends.   
// -----------------------------------------------------------------

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic