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

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__, as_bytes, as_string, as_text, call_application, copy, copy_body, copy_get, decode, encget, encset, make_body_seekable, make_default_send_app, make_tempfile, path_info_peek, path_info_pop, relative_url, remove_conditional_headers, send

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, _check_charset, _content_type__get, _content_type__set, _copy_body_tempfile, _headers__get, _headers__set, _host__del, _host__get, _host__set, _is_body_readable__get, _is_body_readable__set, _json_body__del, _json_body__get, _json_body__set, _text__del, _text__get, _text__set, _update_cache_control, _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_bytes, from_file, from_string, from_text

Class Variables [hide private]

Inherited from webob.request.AdhocAttrMixin (private): _setattr_stacklevel

Inherited from webob.request.BaseRequest: request_body_tempfile_limit

Inherited from webob.request.BaseRequest (private): _charset, _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, body_file_raw, body_file_seekable, cache_control, charset, client_addr, content_length, content_type, cookies, date, headers, host, host_port, host_url, http_version, if_match, if_modified_since, if_none_match, if_range, if_unmodified_since, is_body_readable, is_body_seekable, is_xhr, json, json_body, 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, text, upath_info, url, url_encoding, urlargs, urlvars, uscript_name, user_agent

Inherited from webob.request.BaseRequest (private): _content_type_raw

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.

If ``application`` is not given, this will send the request to ``self.make_default_send_app()``

Overrides: webob.request.BaseRequest.send
(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