Hi,
For some reason, httplib request() method splits the request packet
into two packets, the first packet contains only HTTP headers, the body
in the second packet. The first packet size is way below the MTU size.
Is there a way I can send everything in one packet? Below is a piece of
my code:
s
This question may be ased before, but I couldn't find the answer
searching the archive.
Basically, I just want to send a hex number from one machine to the
next:
for example
msg = "Length is "
n = '\x81'
msg += n
sock.send(msg)
The problem is n's value is not fixed. For example,
msg = "Length
Hi Paul,
I am trying to extract HTTP response codes from a HTTP page send from
a web server. Below is my test program. The program just hangs.
Thanks,
Khoa
##
#!/usr/bin/python
from pyparsing import ParseException, Dict, CharsNotIn,
Group,Lite
Hi,
I want to define a rule for a line that does NOT start with a given
Literal. How do I do that? I try the following and my program just hang
there:
BodyLine = ~Literal("HTTP/1.1") + restOfLine
Thanks,
Khoa
--
http://mail.python.org/mailman/listinfo/python-list