[Zope3-dev] Zope3 vs CVS Python

Tim Peters tim@zope.com
Mon, 5 Aug 2002 13:30:05 -0400


This is a multi-part message in MIME format.

------=_NextPart_000_0007_01C23C84.35E142E0
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: 7bit

[Jeremy Hylton]
> Can you run httplib.py as a script?  There's a bit of test code that
> is run if __name__ == "__main__".  I've made a bunch of changes to
> httplib recently, but haven't tested then on Windows.

Cool!  It's not immediately obvious to me whether running it failed or
passed, but it didn't raise any exceptions.  I'll attach the output (there's
some binary data in it, so maybe it won't come across intact).

------=_NextPart_000_0007_01C23C84.35E142E0
Content-Type: text/plain;
	name="tcap.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="tcap.txt"

C:\Code\python\PCbuild>python ../lib/httplib.py
status =3D 200
reason =3D OK
read 13150

Date: Mon, 05 Aug 2002 17:25:25 GMT
Server: Apache/1.3.26 (Unix)
Last-Modified: Thu, 01 Aug 2002 18:56:23 GMT
ETag: "5a7506-335e-3d498457"
Accept-Ranges: bytes
Content-Length: 13150
Connection: close
Content-Type: text/html

connect: (promotions.yahoo.com, 80)
send: 'GET /promotions/mom_com97/supermom.html HTTP/1.1\r\nHost: =
promotions.yahoo.com\r\nAccept-Encoding: identity\r\n\r\n'
reply: '#\x0f\x01yhh00000011\x010\x01HTTP/1.0 200 OK\n'
200 9
#=0F=01yhh00000011=010=01HTTP/1.0 200 OK
Last-Modified: Fri, 09 May 1997 01:53:10 GMT
Content-Type: text/html
Content-Length: 8188

connect: (promotions.yahoo.com, 80)
send: 'GET /promotions/mom_com97/supermom.html HTTP/1.1\r\nHost: =
promotions.yahoo.com\r\nAccept-Encoding: identity\r\n\r\n'
reply: '#\x0f\x01yhh00000011\x010\x01HTTP/1.0 200 OK\n'
strict mode failed as expected
#=0F=01yhh00000011=010=01HTTP/1.0 200 OK

------=_NextPart_000_0007_01C23C84.35E142E0--