Back to index

moin  1.9.0~rc2
Public Member Functions | Public Attributes | Static Public Attributes
MoinMoin.web.request.Request Class Reference
Inheritance diagram for MoinMoin.web.request.Request:
Inheritance graph
Collaboration diagram for MoinMoin.web.request.Request:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def in_data
def in_headers

Public Attributes


Static Public Attributes

 charset = config.charset
string encoding_errors = 'replace'
string default_mimetype = 'text/html'
 given_config = None
 headers = None
 in_stream =

Detailed Description

A full featured Request/Response object.

To better distinguish incoming and outgoing data/headers,
incoming versions are prefixed with 'in_' in contrast to
original Werkzeug implementation.

Definition at line 26 of file

Constructor & Destructor Documentation

def MoinMoin.web.request.Request.__init__ (   self,
  populate_request = True,
  shallow = False 

Definition at line 41 of file

00042     def __init__(self, environ, populate_request=True, shallow=False):
00043         ResponseBase.__init__(self)
00044         RequestBase.__init__(self, environ, populate_request, shallow)
00045         self.href = Href(self.script_root or '/', self.charset)
00046         self.abs_href = Href(self.url_root, self.charset)
00047         self.headers = Headers([('Content-Type', 'text/html')])
00048         self.response = []
00049         self.status_code = 200

Member Function Documentation

Definition at line 53 of file

00054     def in_data(self):
00055         return

Definition at line 57 of file

00058     def in_headers(self):
00059         return EnvironHeaders(self.environ)

Member Data Documentation

Definition at line 45 of file

Definition at line 33 of file

string MoinMoin.web.request.Request.default_mimetype = 'text/html' [static]

Definition at line 35 of file

string MoinMoin.web.request.Request.encoding_errors = 'replace' [static]

Definition at line 34 of file

Definition at line 36 of file

Definition at line 39 of file

Definition at line 44 of file

MoinMoin.web.request.Request.in_stream = [static]

Definition at line 50 of file

Definition at line 47 of file

Definition at line 48 of file

The documentation for this class was generated from the following file: