Stories from the Web Crawling trenches in multipart form data

Setting the Content-Type Header for Python Requests

Author: Mohan Ganesan

Date: Feb 3, 2024

Properly setting the Content-Type helps the receiving server interpret and handle the data correctly. When sending JSON data or other formats, you'll want to explicitly set the header instead. Uploading multipart form data requires setting the content type accordingly. Handling responses and content types appropriately is important for robust integrations.

Sending Multipart Form Data with Python Requests

Author: Mohan Ganesan

Date: Feb 3, 2024

When building web applications in Python, you may need to send multipart form data in an HTTP request. Here are some troubleshooting tips for sending multipart form data with Requests.

Sending Multipart Form Data with Python's urllib

Author: Mohan Ganesan

Date: Feb 8, 2024

Python's urllib library provides tools to handle multipart form data for integrating with web services. Use requests library to simplify sending multipart form data.

Uploading Zip Files via HTTP POST with Python Requests

Author: Mohan Ganesan

Date: Feb 3, 2024

Sending zip files over HTTP using Python's Requests library with multipart form data for efficient file upload and server processing.

Tired of getting blocked while scraping the web?

ProxiesAPI handles headless browsers and rotates proxies for you.
Get access to 1,000 free API credits, no credit card required!