Canonicalizes the header name.
WP_REST_Request::get_headers
Retrieves all headers from the request.
WP_REST_Request::set_method
Sets HTTP method for the request.
WP_REST_Request::get_method
Retrieves the HTTP method for the request.
Advertisement
WP_REST_Request::__construct
Constructor.
Requests_Utility_FilteredIterator::current
Get the current item’s value after filtering
Requests_Utility_FilteredIterator::__construct
Create a new iterator
Requests_Utility_CaseInsensitiveDictionary::getAll
Get the headers as an array
Advertisement
Requests_Utility_CaseInsensitiveDictionary::getIterator
Get an iterator for the data
Requests_Utility_CaseInsensitiveDictionary::offsetUnset
Unset the given header
Requests_Utility_CaseInsensitiveDictionary::offsetSet
Set the given item
Requests_Utility_CaseInsensitiveDictionary::offsetGet
Get the value for the item
Advertisement
Requests_Utility_CaseInsensitiveDictionary::offsetExists
Check if the given item exists
Requests_Utility_CaseInsensitiveDictionary::__construct
Creates a case insensitive dictionary.
Requests_Transport_fsockopen::test
Whether this transport is valid