[Zope] ZServer and MSIE (long & detailed)

Dave G DAve@mail.netraven.com
Mon, 1 Mar 1999 20:36:23 -0800


Has anyone else experienced a problem getting Explorer to connect with
Zserver?  I have no problem with any version of Navigator but MSIE 3.01 and
4.0 and 4.5 for both Mac and Windows throw up an error box claiming an
"error with Explorer's internet extensions has failed".

Very baffling, I can connect just fine via telnet using the following
requests, ZServer (medusa) returns a proper html page.

Requests sent:

GET / HTTP/1.0
Connection: Keep-Alive
Host: www.fishwrapper.com
Accept: image/gif, image/jpeg, */*

GET / HTTP/1.0
accept: image/gif, image/jpeg, */*

GET / HTTP/1.1
accept: image/gif, image/jpeg, */*

response recieved:

Status: 200 OK
              Content-Length: 1307
                                  Content-Type: text/html

                                                         <html><head>
<base hr
ef="http://chestnut.netraven.com/">
                                   </head>
blah, blah, blah.....

(note the difference in the sent host and recieved host, the host arg in
the start script sets the host for the ftp server, not the webserver...)

I can see nothing in the responses that would cause MSIE to fail, note this
has been tested from four different PC's on three different ip's, including
a local connection from my Lan.

Strangly enough I did a stream capture and hit my server and the startship
server (also running ZServer) and the two responses differ even though the
requests were from the same browser on the same connection.

request for http://www.fishwrapper.com/ followed by my servers response :

Send 357 bytes on stream 4.
<00000000< GET / HTTP/1.0
<00000010< Connection: Keep-Alive
<00000028< User-Agent: Mozilla/4.5 (Macintosh; I; PPC)
<00000055< Pragma: no-cache
<00000067< Host: www.fishwrapper.com
<00000082< Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
<000000BF< image/png, */*
<000000CF< Accept-Encoding: gzip
<000000E6< Accept-Language: en
<000000FB< Accept-Charset: iso-8859-1,*,utf-8
<0000011F< Cookie: sql_pref__rows="10"; sql_pref__cols="65"; dtpref_cols="9
<0000015F< 5"
<00000163<

Receive 1364 bytes on stream 4.
>00000000> Status: 200 OK
>0000000F> Content-Length: 1303
>00000024> Content-Type: text/html
>0000003C>
>0000003D> <html><head>
blah, blah, blah.....

request for http://starship.python.net/ followed by starship's response :

Send 276 bytes on stream 1.
<00000000< GET / HTTP/1.0
<00000010< Connection: Keep-Alive
<00000028< User-Agent: Mozilla/4.5 (Macintosh; I; PPC)
<00000055< Host: starship.python.net:9673
<00000075< Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
<000000B2< image/png, */*
<000000C2< Accept-Encoding: gzip
<000000D9< Accept-Language: en
<000000EE< Accept-Charset: iso-8859-1,*,utf-8
<00000112<

Receive 1254 bytes on stream 1.
>00000000> HTTP/1.0 200 OK
>00000011> Server: Medusa/1.4
>00000025> Content-Length: 1112
>0000003B> Content-Type: text/html
>00000054> Connection: close
>00000067> Date: Tue, 02 Mar 1999 02:24:00 GMT
>0000008C>
>0000008E> <HTML>
>00000095> <HEAD>
blah, blah, blah.....

Do starships ZServer and mine differ?

My  http_server.py  script carries RC_ID of:
 "v 1.4 1999/01/18 22:44:49 amos"  I downloaded a fresh copy of ZServer
when I grabbed the newest copy of Zope.

Any clues? I've been documenting and testing everything I could think of,
I'd report a bug but it seems MSIE works with the Starship server, so I
think it's not a bug so much as something wrong on my end?

Slackware V 3.6
Zope v 1.10.2
ZServer 1.0a2

DAve.

"On the Plains of Hesitation bleach the bones of countless millions who, at
the Dawn of Victory, sat down to wait, and waiting -- died"