InternetSetHeaders
|
File Input/Output functions |
| SYNTAX | InternetSetHeaders( "headers" ) |
| RETURNS | NOTHING |
| FUNCTION | Set custom HTTP headers for subsequent web requests (via subsequent InternetOpenURL or InternetPostRequest calls)
Note that InternetPostRequest will automatically add "Content-Type: application/x-www-form-urlencoded" header unless user specifies their own Content-Type in the InternetSetHeaders call |
| EXAMPLE | // For example to enable GZIP compression you need to use:
|
| SEE ALSO | InternetOpenURL() function |
The InternetSetHeaders function is used in the following formulas in AFL on-line library:
See updated/extended version on-line.