xmlrpc should return appropriate response for a GET

Bug #44871 reported by Steve Alexander
4
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Leonard Richardson

Bug Description

xmlrpc.launchpad.net should give an appropriate response for a GET, such as a 405 Method Not Allowed with an Accepts header saying it requires a POST.

http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.6

Or perhaps a 501 Not Implemented

http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.2

This currently creates an ExpatError oops and return an XML methodResponse with the message: Unexpected Zope exception: ExpatError: no element found: line 1, column 0

Steve Alexander (stevea)
Changed in launchpad:
assignee: nobody → launchpad-infrastructure
status: Unconfirmed → Confirmed
Revision history for this message
Diogo Matsubara (matsubara) wrote :

Steps to reproduce:
1. Open in your webbrowser https://xmlrpc.launchpad.net/
2. OOPS-236D211

Changed in launchpad:
assignee: launchpad-infrastructure → nobody
description: updated
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

It's a bit strange that the OOPS references https://launchpad.net.

Revision history for this message
Diogo Matsubara (matsubara) wrote :

Assigning to Francis as he'll find someone to work on this.

Changed in launchpad:
assignee: nobody → flacoste
Changed in launchpad:
assignee: flacoste → leonardr
Changed in launchpad:
status: Confirmed → In Progress
Changed in launchpad:
milestone: 1.1.10 → 1.1.11
Revision history for this message
Leonard Richardson (leonardr) wrote :

Fixed in revision 5184.

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