Message175814
This is special case for more "general" problem. When request is executed with HTTP client and data is not None, it calculates content length and adds special header to request. Then one can change request.data attribute value, but header "Content-length" is not changed in this case.
Patch is attached.
I implemented request.data as property and added method "remove_header" to deal problem. Test cases are also provided. |
|
Date |
User |
Action |
Args |
2012-11-17 22:29:13 | kachayev | set | recipients:
+ kachayev, terry.reedy, orsenthil |
2012-11-17 22:29:13 | kachayev | set | messageid: <1353191353.7.0.0708032442008.issue16464@psf.upfronthosting.co.za> |
2012-11-17 22:29:13 | kachayev | link | issue16464 messages |
2012-11-17 22:29:13 | kachayev | create | |
|