Top "Python-requests" questions

USE ONLY FOR THE PYTHON REQUESTS LIBRARY.

Python: download a file from an FTP server

I'm trying to download some public data files. I screenscrape to get the links to the files, which all look …

python download ftp python-requests
Use python requests to download CSV

Here is my code: import csv import requests with requests.Session() as s: s.post(url, data=payload) download = s.…

python csv python-requests
Log all requests from the python-requests module

I am using python Requests. I need to debug some OAuth activity, and for that I would like it to …

python logging python-requests
How could I use requests in asyncio?

I want to do parallel http request tasks in asyncio, but I find that python-requests would block the event loop …

python python-requests python-3.4 aiohttp
How can I send an xml body using requests library?

def request(): #encoded_xml = urllib.urlencode({'XML': read_xml()}) #encoded_xml = read_xml() headers = {'Authorization': AUTH_TOKEN,\ 'developerToken': DEVELOPER_TOKEN,\ …

python python-requests
Upload Image using POST form data in Python-requests

I'm working with wechat APIs ... here I've to upload an image to wechat's server using this API http://admin.wechat.…

python python-3.x curl python-requests wechat
How to receive json data using HTTP POST request in Django 1.6?

I am learning Django 1.6. I want to post some JSON using HTTP POST request and I am using Django for …

python django django-views http-post python-requests
How to specify python requests http put body?

I'm trying to rewrite some old python code with requests module. The purpose is to upload an attachment. The mail …

python http put httplib2 python-requests
Why doesn't requests.get() return? What is the default timeout that requests.get() uses?

In my script, requests.get never returns: import requests print ("requesting..") # This call never returns! r = requests.get( "http://www.…

python get python-requests
Python's requests "Missing dependencies for SOCKS support" when using SOCKS5 from Terminal

I'm trying to interact with an API from my Python 2.7 shell using a package that relies on Python's requests. Thing …

python python-2.7 python-requests socks urllib3