Metadata-Version: 2.1
Name: multipartformdata
Version: 1.2
Summary: Convert the request data to form-data.
Home-page: https://github.com/HttpTesting/pyhttp
License: Apache-2.0
Keywords: http,api,form-data,content-type
Author: 天枢
Author-email: lengyaohui@163.com
Requires-Python: >=3.5,<4.0
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Software Development :: Documentation
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Project-URL: Repository, https://github.com/HttpTesting/pyhttp
Description-Content-Type: text/markdown

﻿# Multipartformdata
Convert the request data to form-data.

### 
	Convert the request data to form-data.

	data:
		{
			'id': '23139j76h6t15f',
			'name': 'yhleng'
		}
	Example:
		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--

	"""






  

