Closed
Description
An HTTP response whose status phrase is empty causes the following error:
2018-01-25T10:50:49Z WARN Failed to understand HTTP response status: 302
For example :
HTTP/1.1 302
Location: http://172.17.0.12:8080/resources/userinfo
Content-Length: 0
Date: Thu, 25 Jan 2018 10:50:48 GMT
Connection: close
The response parser in https://github.com/elastic/beats/blob/master/packetbeat/protos/http/http_parser.go#L224 is expecting the status-phrase to be non-empty.
From this question on discuss.