Skip to main content

gs.form

Submit a form to a Web server using a POST

Author:

Michael JasonSmith

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

Metadata

Release files for gs.form 2.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for gs.form 2.2.0
File Interpreter ABI Platform Actions
gs.form-2.2.0.zip Details for gs.form-2.2.0.zip

Release files / gs.form-2.2.0.zip

Download URL gs.form-2.2.0.zip
Size 25.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ec5a43f00768ad92d7c6409a6eceed0265c4c75d5b4694948ea283f8195161c1
BLAKE2b-256 checksum
How to use checksums
c6d523027e7b4a32cb05f70a78f64849a0b111668ff807e32d2663f5de74a743
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for gs.form 2.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.2.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page