tickets: 8259
This data as json
id | created | changetime | last_pulled_from_trac | stage | status | component | type | severity | version | resolution | summary | description | owner | reporter | keywords | easy | has_patch | needs_better_patch | needs_tests | needs_docs | ui_ux |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8259 | 2008-08-12 14:42:47 | 2011-09-28 16:12:17 | 2022-03-06 03:41:46.851554 | Accepted | closed | HTTP handling | dev | fixed | core/handlers/wsgi.py: raises TypeError in _get_raw_post_data if CONTENT_LENGTH is empty. | * write a view which gets raw_post_data from request. * run development server * use pycurl or other client which can send an empty Content-length header. * raises TypeError near: core/handlers/wsgi.py:175 {{{ content_length = int(self.environ.get('CONTENT_LENGTH', 0)) }}} * the problem is that CONTENT_LENGTH is None and type(None) -> TypeError I vave to further investigate this. | kevin | erny | aug22sprint | 0 | 1 | 0 | 0 | 0 | 0 |