Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Functions for posting data to forms.

Project Description

Introduction

This product contains the core functions and classes for making HTTP POST requests to send data to forms. For the most part it consists of the post_multipart utility, for posting data to a form.

While originally written for GroupServer, there is nothing specific to GroupServer in this product.

post_multipart

The gs.form.post_multipart function is used to post data to a form:

post_multipart(host, selector, fields, files=[], usessl=False)

See the documentation for more on how to use this function.

Acknowledgements

The post_multipart code was based on a Python recipe by Wade Leftwich. It was changed to use email.multipart to create the multipart document that is sent using a POST.

The Python standard library currently lacks a module for making a POST to a Web server. Issue 3244 tracks the inclusion of a module into the standard library.

Release History

Release History

This version
History Node

2.2.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
gs.form-2.2.0.zip (25.7 kB) Copy SHA256 Checksum SHA256 any Egg May 6, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting