Skip to content
lsl.devlsl.devLSL Dev

HTTP_CUSTOM_HEADER

constant
Constant
integer HTTP_CUSTOM_HEADER = 5;

Adds custom HTTP headers to the request (up to 8 per request). At the SLua level, provide a string-keyed table mapping header names to values; the serializer emits one HTTP_CUSTOM_HEADER/key/value triple per entry. Some default or sensitive headers are blocked for security reasons.

Constant groups

HTTPRequestParam

Other HTTPRequestParam values (9)
  • The total length of all custom headers cannot exceed 4096 characters.
Original wiki source

Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.

From the Second Life Wiki

Community documentation adapted from HTTP CUSTOM HEADER, by Linden Research, Inc. and contributing residents.View contributors and history.

Imported wiki revision:

Licensed under CC BY-SA 3.0. Last wiki edit: .Formatting and links have been adapted for this site; API metadata follows the LSL definitions.