[Top]
Protocols
Protocols.HTTP
Protocols.HTTP.Session
Protocols.HTTP.Session()->Request
|
Class Protocols.HTTP.Session()->Request
- Description
Request
- Variable
con
Query Protocols.HTTP.Session.Request.con
- Description
Raw connection object
- Variable
url_requested
Standards.URI Protocols.HTTP.Session.Request.url_requested
- Description
URL requested (set by prepare_method).
This will update according to followed redirects.
- Variable
follow_redirects
int Protocols.HTTP.Session.Request.follow_redirects
- Description
Number of redirects to follow;
the request will perform another request if the
HTTP answer is a 3xx redirect.
Default from the parent Session.follow_redirects .
A redirect automatically turns into a GET request,
and all header, query, post or put information is dropped.
- Bugs
Loops will currently not be detected, only the limit
works to stop loops.
- Variable
cookie_encountered
function(string:mixed) Protocols.HTTP.Session.Request.cookie_encountered
- Description
Cookie callback. When a request is performed,
the result is checked for cookie changes and
additions. If a cookie is encountered, this
function is called. Default is to call
set_http_cookie in the Session object.
|