[Top]
Protocols
Protocols.HTTP
Protocols.HTTP.Session
Protocols.HTTP.Session()->Request
|
Class Protocols.HTTP.Session()->Request
- Description
-
Request
- Variable
con
-
Query con
- Description
-
Raw connection object
- Variable
url_requested
-
Standards.URI url_requested
- Description
-
URL requested (set by prepare_method).
This will update according to followed redirects.
- Variable
follow_redirects
-
int 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) 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.
|