Health endpoint returns 406 Not Acceptable when no Accept: header is sent

Bug #1261904 reported by Mike Panetta
6
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@web1a-cqp-hkg ~]$ telnet localhost 80
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@web1a-cqp-hkg ~]$ telnet localhost 80
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@web1a-cqp-hkg ~]$

Revision history for this message
Kurt Griffiths (kgriffs) wrote :

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.

Changed in marconi:
assignee: nobody → Kurt Griffiths (kgriffs)
importance: Undecided → High
status: New → In Progress
Kurt Griffiths (kgriffs)
Changed in marconi:
milestone: none → icehouse-2
Thierry Carrez (ttx)
Changed in marconi:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in marconi:
milestone: icehouse-2 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.