Mercurial > p > roundup > code
diff CHANGES.txt @ 5608:5df309febe49
Path to support OPTIONS verb when using rest interface via
roundup-server. Also make sure rest interface doesn't hang when
processing OPTIONS, DELETE, PATCH which don't have a payload by
creating a CONTENT_LENGTH of 0 if these verbs are used and
CONTENT_LENGTH is missing.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Fri, 08 Feb 2019 19:39:17 -0500 |
| parents | 33f8bb777659 |
| children | 0a8f0fddc2ae be99aa02c616 |
line wrap: on
line diff
--- a/CHANGES.txt Wed Jan 30 18:11:02 2019 +0100 +++ b/CHANGES.txt Fri Feb 08 19:39:17 2019 -0500 @@ -38,6 +38,11 @@ DELETE method. We also don't allow to DELETE a whole class. Python3 support was also fixed and we have cherry-picked two patches from the bugs.python.org branch in the files affected by the REST-API changes. +- Patch to client.py and roundup-server needed by REST-API + code. Support OPTIONS verb and prevent hangs when processing a verb + other than GET that doesn't have a payload. E.G. DELETE, PATCH or + OPTIONS. Verbs like PUT and POST usually have payloads, so this + patch doesn't touch processing of these methods. (John Rouillard) Fixed:
