Пример 43-1. Adding a custom request header In this example a HTTP header X-PHP-Version is added to the HTTP request. The value of this header is the version string of the PHP interpreter that is running the instance of HTTP_Request.
|
Headers that have been added to the HTTP_Request object can be removed with the method removeHeader(), before sendRequest() has been called.
Пред. | Начало | След. |
File uploads | Уровень выше | Proxy Authorization |
HIVE: All information for read only. Please respect copyright! |