tempauth should return 405 for HEAD on /auth/v1.0

Bug #1695855 reported by Filippo Giunchedi on 2017-06-05
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)

Bug Description

From 1-tim-z on https://bugs.launchpad.net/swift/+bug/1695273

(Separately, though, I think tempauth is out of spec returning a 400 on HEAD where a GET would 401... never mind the fact that there's a better code (405) for exactly this situation of using the wrong method on a known path...)

Tim Burke (1-tim-z) on 2017-09-27
Changed in swift:
status: New → Confirmed
Tim Burke (1-tim-z) wrote :

Or just behave like we do on GET -- it's not like we send a body. FWIW, the badness is in https://github.com/openstack/swift/blob/2.15.1/swift/common/middleware/tempauth.py#L685-L690

Changed in swift:
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers