Detailed Description
Definition at line 295 of file http.php.
Member Function Documentation
Parse the Set-cookie content.
- Parameters:
-
| string | $cookie_line | Text after "Set-cookie:" |
- Returns:
- SimpleCookie New cookie object. private
Definition at line 459 of file http.php.
Called on each header line to accumulate the held data within the class.
- Parameters:
-
| string | $header_line | One line of header. protected |
Definition at line 433 of file http.php.
Accessor for authentication type.
- Returns:
- string Type. public
Definition at line 397 of file http.php.
Accessor for parsed HTTP protocol version.
- Returns:
- integer HTTP error code. public
Definition at line 329 of file http.php.
Returns the redirected URL or false if no redirection.
- Returns:
- string URL or false for none. public
Definition at line 357 of file http.php.
Accessor for MIME type header information.
- Returns:
- string MIME type. public
Definition at line 388 of file http.php.
Accessor for raw header block.
- Returns:
- string All headers as raw string. public
Definition at line 338 of file http.php.
Accessor for security realm.
- Returns:
- string Realm. public
Definition at line 406 of file http.php.
Accessor for parsed HTTP error code.
- Returns:
- integer HTTP error code. public
Definition at line 347 of file http.php.
Test to see if the response is an authentication challenge.
- Returns:
- boolean True if challenge. public
Definition at line 377 of file http.php.
Test to see if the response is a valid redirect.
- Returns:
- boolean True if valid redirect. public
Definition at line 366 of file http.php.
Parses the incoming header block.
- Parameters:
-
| string | $headers | Header block. public |
Definition at line 310 of file http.php.
Writes new cookies to the cookie jar.
- Parameters:
-
Definition at line 416 of file http.php.
Field Documentation
The documentation for this class was generated from the following file:
- C:/xampp/htdocs/moodle/lib/simpletestlib/http.php