Multipartformdata
Convert the request data to form-data.
Convert the request data to form-data.
data:
{
'id': '23139j76h6t15f',
'name': 'yhleng'
}
Example:
from MultipartFormData.Multipart import MultipartFormData
e.g.
data_str = MultipartFormData.to_form_data(data) =>
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="id"
123131313
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="name"
yhleng
------WebKitFormBoundary7MA4YWxkTrZu0gW--
e.g.
headers = {
"content-type": "multipart/form-data; boundary=1q2w3e4r5t67u9i8u7y6t"
}
data_str = MultipartFormData.to_form_data(data, headers=headers)
--1q2w3e4r5t67u9i8u7y6t
Content-Disposition: form-data; name="id"
123131313
--1q2w3e4r5t67u9i8u7y6t
Content-Disposition: form-data; name="name"
yhleng
--1q2w3e4r5t67u9i8u7y6t--
"""
Metadata
Release files for multipartformdata 1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| multipartformdata-1.4.tar.gz | 6.8 kB | Without provenance | Details for multipartformdata-1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| MultipartFormData-1.4-py3-none-any.whl | Python 3 | none | any | Details for MultipartFormData-1.4-py3-none-any.whl |
Total release size: 18.0 kB
Release files / multipartformdata-1.4.tar.gz
| Download URL | multipartformdata-1.4.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4e1b00a296f0683b289b954d9efd203e8a59c27620d5a582956fb986b2af1d18
|
|
BLAKE2b-256 checksum How to use checksums |
e666bda4fec204763ac824c9c488447895460a4a728fa21c2fa0b1f503da4f34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.17 CPython/3.6.5 Windows/10
|
Release files / MultipartFormData-1.4-py3-none-any.whl
| Download URL | MultipartFormData-1.4-py3-none-any.whl |
|---|---|
| Size | 11.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a155e44913c28bc6dfb5b9c5aebe17193329be00e6df241b8e8e3e60ce167aff
|
|
BLAKE2b-256 checksum How to use checksums |
d556b6f5a229e1195d8fc38951212e099efc5e32043884b0b3dbc4f2dff421cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.17 CPython/3.6.5 Windows/10
|
Security for multipartformdata 1.4
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.