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
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] "[31m[1m{}POST
http://localhost:6000/getResponse HTTP/1.1[0m" 405 -```
Client
```py flask_client.py
b
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
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
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
Change by Bhushan Shelke :
--
components: +Library (Lib)
___
Python tracker
<https://bugs.python.org/issue42417>
___
___
Python-bugs-list mailing list
Unsub
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
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
Bhushan Shelke added the comment:
Any tentative Date for fix to be generally available?
--
___
Python tracker
<https://bugs.python.org/issue42417>
___
___
Pytho
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)
10 matches
Mail list logo