Health endpoint returns 406 Not Acceptable when no Accept: header is sent
Bug #1261904 reported by
Mike Panetta
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zaqar |
Fix Released
|
High
|
Kurt Griffiths | ||
Icehouse |
Fix Released
|
High
|
Kurt Griffiths |
Bug Description
Here is repro info:
[mike6795@
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET /v1/health HTTP/1.1
HTTP/1.1 406 Not Acceptable
Content-Length: 0
Connection closed by foreign host.
[mike6795@
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET /v1/health HTTP/1.1
Accept: */*
HTTP/1.1 204 No Content
Connection closed by foreign host.
[mike6795@
Changed in marconi: | |
milestone: | none → icehouse-2 |
Changed in marconi: | |
status: | Fix Committed → Fix Released |
Changed in marconi: | |
milestone: | icehouse-2 → 2014.1 |
To post a comment you must log in.
This is a bug in falcon 0.1.6, fixed in 0.1.7 - a missing Acccept header should be treated the same as Accept: */*. Global reqs will need to be updated.