Functions for posting data to forms.
Project description
- Contact:
- Michael JasonSmith <mpj17@onlinegroups.net>
- Date:
- 2014-05-05
- Organization:
- GroupServer.org
- Copyright:
- This document is licensed under a Creative Commons Attribution-Share Alike 4.0 International License by OnlineGroups.Net.
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.
Resources
Documentation: http://gsform.readthedocs.org/
Code repository: https://source.iopen.net/groupserver/gs.form
Questions and comments to http://groupserver.org/groups/development
Report bugs at https://redmine.iopen.net/projects/groupserver
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file gs.form-2.2.0.zip
.
File metadata
- Download URL: gs.form-2.2.0.zip
- Upload date:
- Size: 25.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec5a43f00768ad92d7c6409a6eceed0265c4c75d5b4694948ea283f8195161c1 |
|
MD5 | 6b87ffba3251a0d1cf3e2a4d33c1121f |
|
BLAKE2b-256 | c6d523027e7b4a32cb05f70a78f64849a0b111668ff807e32d2663f5de74a743 |