http_request_delete_header
Last updated March 2020
Name
http_request_delete_header — Delete a header from an HTTP request
Synopsis
#include "modules/delivery/http/httpclnt.h"
| int **http_request_delete_header** (
| sess, | |
| | header)
; | |
Description
**Configuration Change. ** This function is available as of version 3.6.
Delete a header from an HTTP request. You must call http_request_finalize after invoking this function.
- sess
-
The http_session. For a description of this data type see “http_session”.
- header
-
A character pointer to the header.
On success this function returns 1
and on failure 0
.
It is legal to call this function in any thread.
See Also
Was this page helpful?