Classes | Functions
tornado::httputil Namespace Reference

Classes

class  HTTPFile
class  HTTPHeaders

Functions

def _parse_header
def _parseparam
def doctests
def parse_multipart_form_data
def url_concat

Function Documentation

def tornado.httputil._parse_header (   line) [private]
Parse a Content-type like header.

Return the main content-type and a dictionary of options.

Definition at line 270 of file httputil.py.

def tornado.httputil._parseparam (   s) [private]

Definition at line 257 of file httputil.py.

Definition at line 291 of file httputil.py.

def tornado.httputil.parse_multipart_form_data (   boundary,
  data,
  arguments,
  files 
)
Parses a multipart/form-data body.

The boundary and data parameters are both byte strings.
The dictionaries given in the arguments and files parameters
will be updated with the contents of the body.

Definition at line 208 of file httputil.py.

def tornado.httputil.url_concat (   url,
  args 
)
Concatenate url and argument dictionary regardless of whether
url has existing query parameters.

>>> url_concat("http://example.com/foo?a=b", dict(c="d"))
'http://example.com/foo?a=b&c=d'

Definition at line 182 of file httputil.py.



rosbridge_server
Author(s): Jonathan Mace
autogenerated on Mon Oct 6 2014 06:58:14