<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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
> ##
>
>
Khoa -
T
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
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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
>
Khoa -