Minor bug in HAR output of pcap2har

119 views
Skip to first unread message

Eric Lawrence

unread,
May 27, 2012, 2:13:08 PM5/27/12
to pcap...@googlegroups.com
The generated httpVersion string is missing the leading "HTTP/" text.
 
 
Thanks!

Andrew Fleenor

unread,
May 30, 2012, 2:11:24 AM5/30/12
to pcap...@googlegroups.com
Thanks. Should be fixed in master.

-Andrew

Eric Lawrence

unread,
Oct 24, 2013, 12:52:07 AM10/24/13
to pcap...@googlegroups.com
This still appears to be broken for responses at least:

https://github.com/andrewf/pcap2har/blob/master/pcap2har/har.py
Line 66

 'httpVersion': self.msg.version,

Should be:

 'httpVersion': 'HTTP/' + self.msg.version,

Andrew Fleenor

unread,
Oct 25, 2013, 3:27:12 AM10/25/13
to pcap...@googlegroups.com
Oops, you're right, I'd only fixed it for requests before. Try now.

Thanks again.
> --
> You received this message because you are subscribed to the Google Groups
> "pcap2har" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pcap2har+u...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages