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

List:       kde-core-devel
Subject:    Re: www.granroth.org == KWord doc?
From:       Navindra Umanee <navindra () cs ! mcgill ! ca>
Date:       2000-03-17 23:17:55
[Download RAW message or body]

Alex Zepeda <jazepeda@pacbell.net> wrote:
> On Fri, 17 Mar 2000, Navindra Umanee wrote:
> 
> > Note that both of the above yield *different* responses from the
> > server which is kinda lame.
> 
> 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:

GET / HTTP/1.0
Connection: close
User-Agent: Konqueror 1.1.2
Accept-Charset: utf-8, us-ascii;q=0.99, iso-8859-1;q=0.98
Host: www.granroth.org

Then try sending this:

GET / HTTP/1.0
Connection: close
User-Agent: Mozilla/4.0 (compatible; Konqueror 1.1.2; NetBSD 1.4.1)
Accept-Charset: utf-8, us-ascii;q=0.99, iso-8859-1;q=0.98
Host: www.granroth.org

-N.

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

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