- Introduction
- License
- History
- Compilation & Hosting
- Configuration File
- Modules:
- FAQ
- Links
- Credits
|
Declaration:
-
procedure http_put_header(cp: HTTPConnection; const header: string);
Arguments:
-
cp |
Connection handle |
header |
Complete HTTP header, e.g. 'Host: www.freepascal.org' |
Description:
-
This function puts custom request header. If such header is already set its value will be replaced with new one. Call this function before sending the request.
Usage:
-
http_put_header(cp, 'Accept-Charset: koi8-r');
See also:
-
http_request, http_set_header.
|