Message112748
| Author |
dstanek |
| Recipients |
BreamoreBoy, ajaksu2, dstanek, eric.araujo, ezio.melotti, jjlee, jorend, koder_ua, orsenthil |
| Date |
2010年08月04日.03:55:11 |
| SpamBayes Score |
1.1611819e-06 |
| Marked as misclassified |
No |
| Message-id |
<1280894115.07.0.680627286139.issue1673007@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I have attached a patch to add support for HEAD, PUT and DELETE methods. The code review is available here: http://codereview.appspot.com/1696061.
I have started working on another patch that validates that the method is properly set. For instance, it doesn't make sense to have a HEAD or DELETE with post data. The problem is that the interface is so wide open that it is hard to catch all possible user errors. A user could call Request.__init__ correctly, but then set req.method to an invalid method. If there is some interest I'll finish up the patch. |
|