Package restkit :: Package contrib :: Module ipython_shell :: Class Request
[hide private]
[frames] | no frames]

Class Request

source code

                  object --+            
                           |            
webob.request.AdhocAttrMixin --+        
                               |        
                  object --+   |        
                           |   |        
   webob.request.BaseRequest --+        
                               |        
           webob.request.Request --+    
                                   |    
                   webob_api.Request --+
                                       |
                                      Request

Nested Classes [hide private]
  ResponseClass
Represents a WSGI response
Instance Methods [hide private]
 
get_response(self, *args, **kwargs)
Like ``.call_application(application)``, except returns a response object with ``.status``, ``.headers``, and ``.body`` attributes.
source code
 
__str__(self, skip_body=True)
str(x)
source code
 
__call__(self) source code

Inherited from webob_api.Request: set_url

Inherited from webob.request.AdhocAttrMixin: __delattr__, __getattr__, __setattr__

Inherited from webob.request.BaseRequest: __init__, __repr__, call_application, copy, copy_body, copy_get, make_body_seekable, path_info_peek, path_info_pop, relative_url, remove_conditional_headers

Inherited from webob.request.BaseRequest (private): _body__del, _body__get, _body__set, _body_file__del, _body_file__get, _body_file__set, _cache_control__del, _cache_control__get, _cache_control__set, _charset__del, _charset__get, _charset__set, _content_type__del, _content_type__get, _content_type__set, _headers__get, _headers__set, _host__del, _host__get, _host__set, _update_cache_control, _update_get, _urlargs__del, _urlargs__get, _urlargs__set, _urlvars__del, _urlvars__get, _urlvars__set

Inherited from object: __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __sizeof__, __subclasshook__

Class Methods [hide private]

Inherited from webob.request.BaseRequest: blank, from_file

Class Variables [hide private]

Inherited from webob.request.BaseRequest: decode_param_names, postvars, queryvars, request_body_tempfile_limit, str_postvars, str_queryvars, unicode_errors

Inherited from webob.request.BaseRequest (private): _charset_cache, _headers

Properties [hide private]

Inherited from webob_api.Request: delete, get, head, post, put

Inherited from webob.request.BaseRequest: GET, POST, accept, accept_charset, accept_encoding, accept_language, application_url, authorization, body, body_file, cache_control, charset, content_length, content_type, cookies, date, headers, host, host_url, if_match, if_modified_since, if_none_match, if_range, if_unmodified_since, is_xhr, max_forwards, method, params, path, path_info, path_qs, path_url, pragma, query_string, range, referer, referrer, remote_addr, remote_user, scheme, script_name, server_name, server_port, str_GET, str_POST, str_cookies, str_params, upath_info, url, urlargs, urlvars, uscript_name, user_agent

Inherited from object: __class__

Method Details [hide private]

get_response(self, *args, **kwargs)

source code 

Like ``.call_application(application)``, except returns a response object with ``.status``, ``.headers``, and ``.body`` attributes.

This will use ``self.ResponseClass`` to figure out the class of the response object to return.

Overrides: webob.request.BaseRequest.get_response
(inherited documentation)

__str__(self, skip_body=True)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

__call__(self)
(Call operator)

source code 
Overrides: webob_api.Request.get_response