Package qubx :: Module http_post
[hide private]
[frames] | no frames]

Module http_post

source code

Functions [hide private]
 
post_multipart(host, selector, fields, files, secure=True) source code
 
encode_multipart_formdata(fields, files)
fields is a sequence of (name, value) elements for regular form fields.
source code
 
get_content_type(filename) source code
 
get(host, selector, secure) source code
Variables [hide private]
  __package__ = 'qubx'
Function Details [hide private]

encode_multipart_formdata(fields, files)

source code 

fields is a sequence of (name, value) elements for regular form fields. files is a sequence of (name, filename, value) elements for data to be uploaded as files Return (content_type, body) ready for httplib.HTTP instance