packetbeat/packetbeat — pull request #81 by eperry (2014-11-30 00:39:26+00:00)
Title: Enhancements to HTTP.go to parse all Header data

I hope you like this code update,

*removed the Static Http Header Parsing in favor of a Map and Extracting all Headers,
*Since Cookies are of interest to me, I have also split the "Set-Cookie" header and created fields for that too.
*There was a Hardcoded Content-Type which determined if the payload data would be stored or excluded. I have added a new configuration for that so it can be dynamic.
`[ContentTypes]
#include_body = ["json","form-urlencoded"]`

I have updated the Http_test.go as well and seems to validate correctly