Search for request
- Search 9.5.x for request
- Search 8.9.x for request
- Search 10.3.x for request
- Search 11.x for request
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
BootstrapPageCacheTestCase::testConditionalRequests | function | modules/ |
Test support for requests containing If-Modified-Since and If-None-Match headers. |
DrupalHTTPRequestTestCase | class | modules/ |
Test drupal_http_request(). |
DrupalHTTPRequestTestCase::getInfo | function | modules/ |
|
DrupalHTTPRequestTestCase::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
DrupalHTTPRequestTestCase::testDrupalHTTPRequest | function | modules/ |
|
DrupalHTTPRequestTestCase::testDrupalHTTPRequestBasicAuth | function | modules/ |
|
DrupalHTTPRequestTestCase::testDrupalHTTPRequestHeaders | function | modules/ |
Tests Content-language headers generated by Drupal. |
DrupalHTTPRequestTestCase::testDrupalHTTPRequestRedirect | function | modules/ |
|
DrupalRequestSanitizer | class | includes/ |
Sanitizes user input from the request. |
DrupalRequestSanitizer::$sanitized | property | includes/ |
Tracks whether the request was already sanitized. |
DrupalRequestSanitizer::cleanDestination | function | includes/ |
Removes the destination if it is dangerous. |
DrupalRequestSanitizer::sanitize | function | includes/ |
Modifies the request to strip dangerous keys from user input. |
DrupalRequestSanitizer::stripDangerousValues | function | includes/ |
Strips dangerous keys from the provided input. |
drupal_http_request | function | includes/ |
Performs an HTTP request. |
HTTP_REQUEST_TIMEOUT | constant | includes/ |
Error code indicating that the request exceeded the specified timeout. |
install_begin_request | function | includes/ |
Begins an installation request, modifying the installation state as needed. |
MenuRouterTestCase::testThemeCallbackNoThemeRequested | function | modules/ |
Test the theme callback when no theme is requested. |
openid_association_request | function | modules/ |
|
openid_authentication_request | function | modules/ |
|
overlay_request_page_refresh | function | modules/ |
Requests that the entire parent window is reloaded when the overlay closes. |
overlay_request_refresh | function | modules/ |
Requests that the parent window refreshes a particular page region. |
request-sanitizer.inc | file | includes/ |
Contains code for sanitizing user input from the request. |
RequestSanitizerTest | class | modules/ |
Tests DrupalRequestSanitizer class. |
RequestSanitizerTest::$errors | property | modules/ |
Log of errors triggered during sanitization. |
RequestSanitizerTest::assertEqualLabelled | function | modules/ |
Asserts two values are equal, includes a label. |
RequestSanitizerTest::assertError | function | modules/ |
Asserts that the expected error has been logged. |
RequestSanitizerTest::getInfo | function | modules/ |
|
RequestSanitizerTest::requestSanitizationTest | function | modules/ |
Tests RequestSanitizer class. |
RequestSanitizerTest::requestSanitizerTests | function | modules/ |
Data provider for testRequestSanitization. |
RequestSanitizerTest::sanitizerTestErrorHandler | function | modules/ |
Catches and logs errors to $this->errors. |
RequestSanitizerTest::setUp | function | modules/ |
Sets up unit test environment. |
RequestSanitizerTest::testRequestSanitization | function | modules/ |
Iterate through all the RequestSanitizerTests. |
request_path | function | includes/ |
Returns the requested URL path of the page being viewed. |
request_sanitizer.test | file | modules/ |
Tests for the RequestSanitizer class. |
REQUEST_TIME | constant | includes/ |
Time of the current request in seconds elapsed since the Unix Epoch. |
request_uri | function | includes/ |
Returns the equivalent of Apache's $_SERVER['REQUEST_URI'] variable. |
SanitizerTestRequest | class | modules/ |
Basic HTTP Request class. |
SanitizerTestRequest::$attributes | property | modules/ |
The request attributes. |
SanitizerTestRequest::$cookies | property | modules/ |
The request cookies. |
SanitizerTestRequest::$query | property | modules/ |
The query (GET). |
SanitizerTestRequest::$request | property | modules/ |
The request (POST). |
SanitizerTestRequest::getAttributes | function | modules/ |
Getter for $attributes. |
SanitizerTestRequest::getCookies | function | modules/ |
Getter for $cookies. |
SanitizerTestRequest::getQuery | function | modules/ |
Getter for $query. |
SanitizerTestRequest::getRequest | function | modules/ |
Getter for $request. |
SanitizerTestRequest::__construct | function | modules/ |
Constructor. |
system_check_http_request | function | modules/ |
Checks whether the server is capable of issuing HTTP requests. |
system_test_request_destination | function | modules/ |
Page callback to print out $_REQUEST['destination'] for testing. |
UrlAlterFunctionalTest::testCurrentUrlRequestedPath | function | modules/ |
Test current_path() and request_path(). |
xmlrpc_request | function | includes/ |
Constructs an object representing an XML-RPC request. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.