This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2012年06月07日 11:15 by craigloftus, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| issue15025_a.diff | demian.brecht, 2014年06月17日 05:01 | review | ||
| issue15025_b.diff | demian.brecht, 2014年06月17日 05:01 | review | ||
| Messages (4) | |||
|---|---|---|---|
| msg162470 - (view) | Author: Craig Loftus (craigloftus) | Date: 2012年06月07日 11:15 | |
Calling httplib.responses[httplib.UNPROCESSABLE_ENTITY] in 2.7, or http.client.responses[http.client.UNPROCESSABLE_ENTITY] raises "KeyError: 422". The expected behaviour would be to return "Unprocessable Entity". This is the specific issue that I have hit, but the same is true of all the WEBDAV status codes that constants are defined for. |
|||
| msg220641 - (view) | Author: Mark Lawrence (BreamoreBoy) * | Date: 2014年06月15日 14:32 | |
Can someone take a look please as nobody is given against http in the experts index. |
|||
| msg220790 - (view) | Author: Demian Brecht (demian.brecht) * (Python triager) | Date: 2014年06月17日 05:01 | |
Indeed the WEBDAV codes were missing across the board. I've added a couple patches: One (_a) that just adds the missing constants, and another (_b) that changes how they're defined altogether. The advantage of the second is that there is much less chance of running into this desync going forward. Having said that, I have no false hope that anyone will think it's a sane or obvious way of going about defining them ;) |
|||
| msg233235 - (view) | Author: Berker Peksag (berker.peksag) * (Python committer) | Date: 2014年12月31日 09:34 | |
This was fixed by issue 21793. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:31 | admin | set | github: 59230 |
| 2014年12月31日 09:34:10 | berker.peksag | set | status: open -> closed nosy: + berker.peksag messages: + msg233235 resolution: out of date stage: resolved |
| 2014年07月05日 17:34:21 | flox | set | nosy:
+ flox |
| 2014年06月21日 03:04:15 | rhettinger | set | assignee: rhettinger nosy: + rhettinger |
| 2014年06月17日 18:11:43 | r.david.murray | set | nosy:
+ r.david.murray |
| 2014年06月17日 05:01:59 | demian.brecht | set | files: + issue15025_b.diff |
| 2014年06月17日 05:01:47 | demian.brecht | set | files:
+ issue15025_a.diff keywords: + patch messages: + msg220790 |
| 2014年06月17日 02:19:56 | demian.brecht | set | nosy:
+ demian.brecht |
| 2014年06月15日 14:32:05 | BreamoreBoy | set | nosy:
+ BreamoreBoy messages: + msg220641 |
| 2012年06月07日 11:15:42 | craigloftus | create | |