OPTIONS http request gives spaces instead of commas in "Allow" header

Bug #1717682 reported by Hanno Böck
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Colin Watson

Bug Description

The HTTPS OPTIONS method allows to query a server for the supported HTTP methods. The server is supposed to reply with an "Allow" header with a comma-separated list. However the launchpad server gives a space-separated list.

Example:
curl -sI -X OPTIONS https://launchpad.net/|grep Allow:
gives output:
Allow: GET HEAD POST

For a correct server:
curl -sI -X OPTIONS https://www.ubuntu.com/|grep Allow:
gives:
Allow: GET, HEAD, OPTIONS

I can't judge where the bug is, as I don't know how the infrastructure of launchpad.net works. It may be a bug in a load balancer or proxy in front of the real software.

Tags: qa-ok

Related branches

Revision history for this message
Colin Watson (cjwatson) wrote :

Thanks. It's in the Launchpad codebase itself, in fact. I'll get it fixed.

Changed in launchpad:
assignee: nobody → Colin Watson (cjwatson)
importance: Undecided → High
status: New → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
Colin Watson (cjwatson)
tags: added: qa-ok
removed: qa-needstesting
Revision history for this message
Colin Watson (cjwatson) wrote :

$ curl -sI -X OPTIONS https://launchpad.net/|grep Allow:
Allow: GET, HEAD, POST

Thanks again for the report.

Changed in launchpad:
status: Fix Committed → Fix Released
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.