Difference between revisions of "Template:LSL Constants/HTTP Headers"
Jump to navigation
Jump to search
(the standard even encourages this kind of noodling with that awful "common form" language,) |
m (Updated the headers sent by the SL Server) |
||
Line 6: | Line 6: | ||
! class="unsortable" {{!}} Example data | ! class="unsortable" {{!}} Example data | ||
{{!}}- | {{!}}- | ||
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}| | {{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|connection|Connection}} | ||
{{!}} | {{!}} | ||
{{!}} | {{!}} close | ||
{{!}}- | |||
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|cache-control|Cache-Control}} | |||
{{!}} | |||
{{!}} max-age=259200 | |||
{{!}}- | |||
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|x-forwarded-for|X-Forwarded-For}} | |||
{{!}} | |||
{{!}} 127.0.0.1 | |||
{{!}}- | |||
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|via|Via}} | |||
{{!}} | |||
{{!}} 1.1 sim10115.agni.lindenlab.com:3128 (squid/2.7.STABLE9) | |||
{{!}}- | |||
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|content-length|Content-Length}} | |||
{{!}} | |||
{{!}} 17 | |||
{{!}}- | |||
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|pragma|Pragma}} | |||
{{!}} | |||
{{!}} no-cache | |||
{{!}}- | {{!}}- | ||
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|x-secondlife-shard|X-SecondLife-Shard}} | {{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|x-secondlife-shard|X-SecondLife-Shard}} | ||
{{!}} The environment the object is in. "Production" is the main grid and "Testing" is the preview grid | {{!}} The environment the object is in. "Production" is the main grid and "Testing" is the preview grid | ||
{{!}} Production | {{!}} Production | ||
{{!}}- | |||
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|x-secondlife-region|X-SecondLife-Region}} | |||
{{!}} The name of the region the object is in, along with the global coordinates of the region's south-west corner | |||
{{!}} Jin Ho (264448, 233984) | |||
{{!}}- | |||
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|x-secondlife-owner-name|X-SecondLife-Owner-Name}} | |||
{{!}} {{LSLGC|Avatar/Name|Legacy name}} of the owner of the object | |||
{{!}} Zeb Wyler | |||
{{!}}- | |||
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|x-secondlife-owner-key|X-SecondLife-Owner-Key}} | |||
{{!}} {{HoverLink|UUID|Universally Unique Identifier}} of the owner of the object | |||
{{!}} NoWrap {{!}} 01234567-89ab-cdef-0123-456789abcdef | |||
{{!}}- | {{!}}- | ||
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|x-secondlife-object-name|X-SecondLife-Object-Name}} | {{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|x-secondlife-object-name|X-SecondLife-Object-Name}} | ||
Line 22: | Line 54: | ||
{{!}} NoWrap {{!}} 01234567-89ab-cdef-0123-456789abcdef | {{!}} NoWrap {{!}} 01234567-89ab-cdef-0123-456789abcdef | ||
{{!}}- | {{!}}- | ||
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|x-secondlife-local-velocity|X-SecondLife-Local-Velocity}} | |||
{{!}} The velocity of the object | |||
{{!}} 0.000000, 0.000000, 0.000000 | |||
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|x-secondlife-local- | |||
{{!}} The | |||
{{!}} | |||
{{!}}- | {{!}}- | ||
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|x-secondlife-local-rotation|X-SecondLife-Local-Rotation}} | {{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|x-secondlife-local-rotation|X-SecondLife-Local-Rotation}} | ||
Line 34: | Line 62: | ||
{{!}} 0.000000, 0.000000, 0.000000, 1.000000 | {{!}} 0.000000, 0.000000, 0.000000, 1.000000 | ||
{{!}}- | {{!}}- | ||
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|x-secondlife-local- | {{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|x-secondlife-local-position|X-SecondLife-Local-Position}} | ||
{{!}} The | {{!}} The position of the object within the region | ||
{{!}} | {{!}} (173.009827, 75.551231, 60.950001) | ||
{{!}}- | |||
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|user-agent|User-Agent}} | |||
{{!}} The user-agent header sent by LSL Scripts. Contains Server version. | |||
{{!}} Second Life LSL/16.05.24.315768 (<nowiki>http://secondlife.com</nowiki>) | |||
{{!}}- | |||
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|content-type|Content-Type}} | |||
{{!}} | |||
{{!}} text/plain; charset=utf-8 | |||
{{!}}- | |||
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|accept-charset|Accept-Charset}} | |||
{{!}} | |||
{{!}} utf-8;q=1.0, *;q=0.5 | |||
{{!}}- | |||
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|accept|Accept}} | |||
{{!}} | |||
{{!}} text/*, application/xhtml+xml, application/atom+xml, application/json, application/xml, application/llsd+xml, application/x-javascript, application/javascript, application/x-www-form-urlencoded, application/rss+xml | |||
{{!}}- | |||
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|accept-encoding|Accept-Encoding}} | |||
{{!}} | |||
{{!}} deflate, gzip | |||
{{!}}- | |||
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|host|Host}} | |||
{{!}} | |||
{{!}} <nowiki>secondlife.com</nowiki> | |||
{{!}}- | {{!}}- | ||
{{!}}- class="sortbottom" | {{!}}- class="sortbottom" | ||
{{!}} colspan="3" {{!}} <sup> | {{!}} colspan="3" {{!}} <sup> |
Revision as of 19:30, 12 June 2016
Header | Description | Example data |
---|---|---|
Connection | close | |
Cache-Control | max-age=259200 | |
X-Forwarded-For | 127.0.0.1 | |
Via | 1.1 sim10115.agni.lindenlab.com:3128 (squid/2.7.STABLE9) | |
Content-Length | 17 | |
Pragma | no-cache | |
X-SecondLife-Shard | The environment the object is in. "Production" is the main grid and "Testing" is the preview grid | Production |
X-SecondLife-Region | The name of the region the object is in, along with the global coordinates of the region's south-west corner | Jin Ho (264448, 233984) |
X-SecondLife-Owner-Name | Legacy name of the owner of the object | Zeb Wyler |
X-SecondLife-Owner-Key | UUID of the owner of the object | 01234567-89ab-cdef-0123-456789abcdef |
X-SecondLife-Object-Name | The name of the object containing the script | Object |
X-SecondLife-Object-Key | The key of the object containing the script | 01234567-89ab-cdef-0123-456789abcdef |
X-SecondLife-Local-Velocity | The velocity of the object | 0.000000, 0.000000, 0.000000 |
X-SecondLife-Local-Rotation | The rotation of the object containing the script | 0.000000, 0.000000, 0.000000, 1.000000 |
X-SecondLife-Local-Position | The position of the object within the region | (173.009827, 75.551231, 60.950001) |
User-Agent | The user-agent header sent by LSL Scripts. Contains Server version. | Second Life LSL/16.05.24.315768 (http://secondlife.com) |
Content-Type | text/plain; charset=utf-8 | |
Accept-Charset | utf-8;q=1.0, *;q=0.5 | |
Accept | text/*, application/xhtml+xml, application/atom+xml, application/json, application/xml, application/llsd+xml, application/x-javascript, application/javascript, application/x-www-form-urlencoded, application/rss+xml | |
Accept-Encoding | deflate, gzip | |
Host | secondlife.com | |
|