Ticket #528 (defect)
Opened 2 years ago
Last modified 2 years ago
Allow request body parsing for methods other than "POST" and "PUT"
Status: closed (fixed)
| Reported by: | mikerobi | Assigned to: | mikerobi |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | CherryPy code | Keywords: | |
| Cc: |
The WebDAV protocol uses several special request methods which contain request bodies.
This is an one-line fix, we just need to add a new configuration option (server.methods_with_bodies.)
Change History
05/30/06 15:11:29: Modified by fumanchu
- summary changed from Allow request body parsing for methods other than "GET" and "PUT" to Allow request body parsing for methods other than "POST" and "PUT".
06/29/06 14:16:41: Modified by fumanchu
- status changed from new to closed.
- resolution set to fixed.
Fixed in [1175] with a new "methods_with_bodies" config entry. And it was considerably more than one line. ;)


Good idea! But assuming this is going into the trunk (CP 3), the name shouldn't be in the "server" namespace. Maybe "process_body_methods" (to parallel the process_body function name and the process_request_body flag)?