Pluggdapps

Component system. Web framework. And more ...

request – HTTP Request object.

Module contents

class pluggdapps.web.request.HTTPRequest(pa, *args, **kwargs)[source]

Bases: pluggdapps.plugin.Plugin

Plugin encapsulates HTTP request. Refer to pluggdapps.web.interfaces.IHTTPRequest interface spec. to understand the general intent and purpose of this plugin.

__init__(pa, *args, **kwargs)[source]

Plugin Init function hooked in by PluginMeta. Initialize plugin with *args and **kwargs parameters.

content_type = ''

Parsed content type as return from parse_content_type().

supports_http_1_1()[source]

pluggdapps.web.interfaces.IHTTPRequest.supports_http_1_1() interface method.

get_ssl_certificate()[source]

pluggdapps.web.interfaces.IHTTPRequest.get_ssl_certificate() interface method.

pluggdapps.web.interfaces.IHTTPRequest.get_cookie() interface method.

pluggdapps.web.interfaces.IHTTPRequest.get_secure_cookie() interface method.

has_finished()[source]

pluggdapps.web.interfaces.IHTTPRequest.has_finished() interface method.

ischunked()[source]

pluggdapps.web.interfaces.IHTTPRequest.ischunked() interface method.

handle(body=None, chunk=None, trailers=None)[source]

pluggdapps.web.interfaces.IHTTPRequest.handle() interface method.

onfinish()[source]

pluggdapps.web.interfaces.IHTTPRequest.onfinish() interface method.

urlfor(name, **matchdict)[source]

pluggdapps.web.interfaces.IHTTPRequest.urlfor() interface method.

pathfor(name, **matchdict)[source]

pluggdapps.web.interfaces.IHTTPRequest.pathfor() interface method.

appurl(webapp, name, **matchdict)[source]

pluggdapps.web.interfaces.IHTTPRequest.appurl() interface method.