MCPcopy Create free account
hub / github.com/BitFunnel/NativeJIT / EncodeMultipartFormData

Function EncodeMultipartFormData

googletest/googlemock/scripts/upload.py:498–530  ·  view source on GitHub ↗

Encode form fields for multipart/form-data. Args: fields: A sequence of (name, value) elements for regular form fields. files: A sequence of (name, filename, value) elements for data to be uploaded as files. Returns: (content_type, body) ready for httplib.HTTP instance.

(fields, files)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

UploadFileMethod · 0.70
UploadSeparatePatchesFunction · 0.70
RealMainFunction · 0.70

Calls 1

GetContentTypeFunction · 0.70

Tested by

no test coverage detected