Top "Python-requests" questions

USE ONLY FOR THE PYTHON REQUESTS LIBRARY.

TypeError: 'Response' object has no attribute '__getitem__'

I am trying to get a value from a response object in a dictionary, but I keep running into this …

python json python-requests json-rpc
How do I use requests.put() to upload a file using Python?

I am trying to use the requests library in Python to upload a file into Fedora commons repository on localhost. …

python encoding python-requests fedora-commons
SystemError: error return without exception set, when using requests and debugger

Environment: Python 3.6.3 Requests 2.18.4 PyCharm 2018.1 When using the above configuration in normal run everything is fine. However,when using PyCharm debugger …

python-3.x python-requests pycharm
Send Simultaneous Requests python (all at once)

I'm trying to create a script that send's over 1000 requests to one page at the same time. But requests library …

python python-requests simultaneous-calls
Can't catch mocked exception because it doesn't inherit BaseException

I'm working on a project that involves connecting to a remote server, waiting for a response, and then performing actions …

python exception-handling python-requests python-3.3 python-mock
Python Requests - ChunkedEncodingError(e) - requests.iter_lines

I'm getting a ChunkedEncodingError(e) using Python requests. I'm using the following to rip down JSON: r = requests.get(url, …

python python-requests chunked-encoding http-chunked
Python HTTP Request Binary Data using Requests

The following code only works in curl. It would be nice if you could tell me why it isnt working …

python http curl python-requests url-parameters
Is the Session object from Python's Requests library thread safe?

Python's popular Requests library is said to be thread-safe on its home page, but no further details are given. If …

python thread-safety connection-pooling python-requests
parse multipart/form-data, received from requests post

I am writing Web Service Client, using requests library. I am getting data in multipart/form-data that contains a file …

python web-services client python-requests
Python requests return 504 in localhost

I run werkzeug server (via Flask) and trying to connect to localhost by requests lib and got 504 error, but if …

python timeout python-requests werkzeug