tempauth should return 405 for HEAD on /auth/v1.0
Bug #1695855 reported by
Filippo Giunchedi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Low
|
HCLTech-SSW |
Bug Description
From 1-tim-z on https:/
(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...)
Changed in swift: | |
status: | New → Confirmed |
Changed in swift: | |
assignee: | nobody → HCLTech-SSW (hcltech-ssw) |
Changed in swift: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
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