Index of the wkrequest module
-
m
paste.webkit.wkrequest
...
- A Webware HTTPRequest object, implemented based on the WSGI request
environment dictionary.
-
C
HTTPRequest
...
-
f
cookies
...
- Returns a dictionary-style object of all Cookie objects the
client sent with this request.
-
f
hasValue
...
-
f
protocol
...
-
f
contextPath
...
-
f
isSessionExpired
...
- Returns bool: whether or not this request originally
contained an expired session ID. Only works if the
Application.config setting "IgnoreInvalidSession" is set to 1;
otherwise you get a canned error page on an invalid session,
so your servlet never gets processed.
-
f
pathInfo
...
-
f
serverURLDir
...
-
f
hasCookie
...
-
f
urlPath
...
-
f
serverSideContextPath
...
-
f
fsPath
...
-
f
setField
...
-
f
originalURLPath
...
-
f
__init__
...
-
f
uriWebKitRoot
...
-
f
rawRequest
...
-
f
delField
...
-
f
adapterName
...
- Returns the name of the adapter as it appears in the URL.
Example: '/WebKit.cgi'
This is useful in special cases when you are constructing URLs. See Testing/Main.py for an example use.
-
f
remoteUser
...
- Always returns None since authentication is not yet
supported. Take from CGI variable REMOTE_USER.
-
f
fieldStorage
...
-
f
setTransaction
...
-
f
remoteName
...
- Returns the fully qualified name of the client that sent
the request, or the IP address of the client if the name
cannot be determined.
-
f
field
...
-
f
rawInput
...
- This gives you a file-like object for the data that was
sent with the request (e.g., the body of a POST request,
or the documented uploaded in a PUT request).
-
f
environ
...
-
f
uri
...
- Returns the request URI, which is the entire URL except
for the query string.
-
f
config
...
-
f
contextName
...
-
f
servletPathFromSiteRoot
...
-
f
queryString
...
- Returns the query string portion of the URL for this
request. Taken from the CGI variable QUERY_STRING.
-
f
extraURLPath
...
-
f
serverURL
...
-
f
setSessionExpired
...
-
f
siteRootFromCurrentServlet
...
-
f
serverSidePath
...
-
f
cookie
...
- Returns the value of the specified cookie.
-
f
servletPath
...
-
f
servletURI
...
- This is the URI of the servlet, without any query strings or extra path info
-
f
method
...
- Returns the HTTP request method (in all uppercase), typically
from the set GET, POST, PUT, DELETE, OPTIONS and TRACE.
-
f
timeStamp
...
-
f
info
...
-
f
serverDictionary
...
- Returns a dictionary with the data the web server gave us,
like HTTP_HOST or HTTP_USER_AGENT.
-
f
getstate
...
-
f
siteRoot
...
-
f
setURLPath
...
-
f
fields
...
-
f
remoteAddress
...
- Returns a string containing the Internet Protocol (IP)
address of the client that sent the request.
-
f
pathTranslated
...
-
f
value
...
-
f
htmlInfo
...
-
f
urlPathDir
...
-
f
sessionId
...
- Returns a string with the session id specified by the
client, or None if there isn't one.
-
f
session
...
- Returns the session associated with this request, either
as specified by sessionId() or newly created. This is a
convenience for transaction.session()
-
f
hasField
...
-
f
time
...
-
f
transaction
...