[issue42417] Empty body {} in POST requests leads to 405 Method not allowed error

2020-12-09 Thread Bhushan Shelke
Bhushan Shelke added the comment: Any update on this? Did the files I submitted help in reproducing/identifying the issue? -- ___ Python tracker <https://bugs.python.org/issue42

[issue42417] Empty body {} in POST requests leads to 405 Method not allowed error

2020-12-13 Thread Bhushan Shelke
Bhushan Shelke added the comment: Hmm... intriguing... I just downloaded the files, an executed again, following is response Server ```127.0.0.1 - - [14/Dec/2020 13:07:34] "{}POST http://localhost:6000/getResponse HTTP/1.1" 405 -``` Client ```py flask_client.py b&#x

[issue42417] Empty body {} in POST requests leads to 405 Method not allowed error

2020-12-14 Thread Bhushan Shelke
Bhushan Shelke added the comment: Also attaching screenshot of TCP dump captured via wireshark Packet-1 -- Added file: https://bugs.python.org/file49677/packet-1.PNG ___ Python tracker <https://bugs.python.org/issue42

[issue42417] Empty body {} in POST requests leads to 405 Method not allowed error

2020-12-14 Thread Bhushan Shelke
Bhushan Shelke added the comment: Attaching screenshot of TCP dump captured via wireshark Packet-2 -- Added file: https://bugs.python.org/file49678/packet-2.PNG ___ Python tracker <https://bugs.python.org/issue42

[issue42417] Empty body {} in POST requests leads to 405 Method not allowed error

2020-11-20 Thread Bhushan Shelke
New submission from Bhushan Shelke : I have a Tomcat+Java based server exposing REST APIs. I am writing a client in python to consume those APIs. Everything is fine until I send empty body in POST request. It is a valid use case for us. If I send empty body I get 400 bad request error

[issue42417] Empty body {} in POST requests leads to 405 Method not allowed error

2020-11-20 Thread Bhushan Shelke
Change by Bhushan Shelke : -- components: +Library (Lib) ___ Python tracker <https://bugs.python.org/issue42417> ___ ___ Python-bugs-list mailing list Unsub

[issue42417] Empty body {} in POST requests leads to 405 Method not allowed error

2020-11-20 Thread Bhushan Shelke
Bhushan Shelke added the comment: Yes Ronald I am using requests library however I tried HTTPSConnection class from http.client package as well getting same error, may be because cause is in the core http library itself -- ___ Python tracker

[issue42417] Empty body {} in POST requests leads to 405 Method not allowed error

2020-11-20 Thread Bhushan Shelke
Bhushan Shelke added the comment: I have looked at requests lib code. As far as I could understand following is the flow of packages used in this case - request "uses->" urllib3 "uses->" http -- ___ Python tracker

[issue42417] Empty body {} in POST requests leads to 405 Method not allowed error

2020-11-25 Thread Bhushan Shelke
Bhushan Shelke added the comment: Any tentative Date for fix to be generally available? -- ___ Python tracker <https://bugs.python.org/issue42417> ___ ___ Pytho

[issue42417] Empty body {} in POST requests leads to 405 Method not allowed error

2020-11-25 Thread Bhushan Shelke
Bhushan Shelke added the comment: I had uploaded one file(simple_flask.py) to be used as server to the ticket when I created the ticket. Since ticket allows only one file upload, I'd pasted relevant code in ticket itself. I've now uploaded the client python file(flask_client.py)