Trees | Index | Help |
---|
Package WebStack :: Package Helpers :: Module Request |
|
Classes | |
---|---|
Cookie |
A simple cookie class for frameworks which do not return cookies in structured form. |
MessageBodyStream |
A naive stream class, providing a non-blocking stream for transactions when reading the message body. |
Function Summary | |
---|---|
Taking items from the 'all_fields' dictionary, produce a new dictionary which does not contain items from the 'fields_from_path' dictionary. | |
Returns the appropriate value for the given 'field_str' string using the given 'encoding'. | |
Returns a dictionary mapping field names to lists of field values for all entries in the given 'field_items' (2-tuples of the form key, values) using the given 'encoding'. | |
Returns a dictionary mapping field names to lists of values for the data encoded in the given 'query_string'. | |
Return the items (2-tuples of the form key, values) from the 'storage_body'. |
Function Details |
---|
filter_fields(all_fields, fields_from_path)Taking items from the 'all_fields' dictionary, produce a new dictionary which does not contain items from the 'fields_from_path' dictionary. Return a new dictionary. |
get_body_field(field_str, encoding)Returns the appropriate value for the given 'field_str' string using the given 'encoding'. |
get_body_fields(field_items, encoding)Returns a dictionary mapping field names to lists of field values for all entries in the given 'field_items' (2-tuples of the form key, values) using the given 'encoding'. This is used in conjunction with FieldStorage objects. |
get_fields_from_query_string(query_string, decoder)Returns a dictionary mapping field names to lists of values for the data encoded in the given 'query_string'. Use the given 'decoder' function or method to process the URL-encoded values. |
get_storage_items(storage_body)Return the items (2-tuples of the form key, values) from the 'storage_body'. This is used in conjunction with FieldStorage objects. |
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Sun May 1 20:27:34 2005 | http://epydoc.sf.net |