in reply to Problems with converting raw data to text

How does the raw data in the payload part format looks like, what is the output text format you expect???....
  • Comment on Re: Problems with converting raw data to text

Replies are listed 'Best First'.
Re^2: Problems with converting raw data to text
by anderam (Initiate) on Dec 06, 2009 at 14:08 UTC

    And so this is the worst part of it. I've got some Perl Compatible Regular Expressions (PCREs) and i want to match them with payloads. Regular expression looks like this:

    /http\/(0\.9|1\.0|1\.1) [1-5][0-9][0-9] [\x09-\x0d -~]*(connection:|content-type:|content-length:|date:)|(get|post|head) [\x09-\x0d -~]* http\/[01]\.[019]/i

    Payload data, I don't know if this will help: in C language i'll certainly use unsigned char.

    What I expect is, the data must be in such a format which I can parse with PCREs.