Difference between revisions of "Template:LSL Constants/HTTP Headers"

From Second Life Wiki
Jump to navigation Jump to search
m (could do lowercase with CSS but it doesn't work with copy)
(Lowercase means lowercase!)
Line 6: Line 6:
! class="unsortable" {{!}} Example data
! class="unsortable" {{!}} Example data
{{!}}-  
{{!}}-  
{{!}} 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-object-name|X-SecondLife-Object-Name}}
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|x-secondlife-object-name|X-SecondLife-Object-Name}}
{{!}} The name of the object containing the script
{{!}} The name of the object containing the script
{{!}} Object
{{!}} Object
{{!}}-  
{{!}}-  
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|x-secondLife-object-key|X-SecondLife-Object-Key}}
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|x-secondlife-object-key|X-SecondLife-Object-Key}}
{{!}} The key of the object containing the script
{{!}} The key of the object containing the script
{{!}} NoWrap {{!}} 01234567-89ab-cdef-0123-456789abcdef
{{!}} NoWrap {{!}} 01234567-89ab-cdef-0123-456789abcdef
{{!}}-  
{{!}}-  
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|x-secondLife-region|X-SecondLife-Region}}
{{!}} 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
{{!}} 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)
{{!}} Jin Ho (264448, 233984)
{{!}}-  
{{!}}-  
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|x-secondLife-local-position|X-SecondLife-Local-Position}}
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|x-secondlife-local-position|X-SecondLife-Local-Position}}
{{!}} The position of the object within the region
{{!}} The position of the object within the region
{{!}} (173.009827, 75.551231, 60.950001)
{{!}} (173.009827, 75.551231, 60.950001)
{{!}}-  
{{!}}-  
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|x-secondLife-local-rotation|X-SecondLife-Local-Rotation}}
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|x-secondlife-local-rotation|X-SecondLife-Local-Rotation}}
{{!}} The rotation of the object containing the script
{{!}} The rotation of the object containing the script
{{!}} 0.000000, 0.000000, 0.000000, 1.000000
{{!}} 0.000000, 0.000000, 0.000000, 1.000000
{{!}}-  
{{!}}-  
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|x-secondLife-local-velocity|X-SecondLife-Local-Velocity}}
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|x-secondlife-local-velocity|X-SecondLife-Local-Velocity}}
{{!}} The velocity of the object
{{!}} The velocity of the object
{{!}} 0.000000, 0.000000, 0.000000
{{!}} 0.000000, 0.000000, 0.000000
{{!}}-  
{{!}}-  
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|x-secondLife-owner-name|X-SecondLife-Owner-Name}}
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|x-secondlife-owner-name|X-SecondLife-Owner-Name}}
{{!}} {{LSLGC|Avatar/Name|Legacy name}} of the owner of the object
{{!}} {{LSLGC|Avatar/Name|Legacy name}} of the owner of the object
{{!}} Zeb Wyler
{{!}} Zeb Wyler
{{!}}-  
{{!}}-  
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|x-secondLife-owner-key|X-SecondLife-Owner-Key}}
{{!}} NoWrap {{!}} {{#if:{{{lower-case|}}}|x-secondlife-owner-key|X-SecondLife-Owner-Key}}
{{!}} {{HoverLink|UUID|Universally Unique Identifier}} of the owner of the object
{{!}} {{HoverLink|UUID|Universally Unique Identifier}} of the owner of the object
{{!}} NoWrap {{!}} 01234567-89ab-cdef-0123-456789abcdef
{{!}} NoWrap {{!}} 01234567-89ab-cdef-0123-456789abcdef
{{!}}-  
{{!}}-  
{{!}} colspan="3" {{!}} <sup>CGI environments may place the headers into variables by capitalizing the entire name, replacing dashes with underscores, and prefixing the name with "HTTP_", e.g. "{{#if:{{{lower-case|}}}|x-secondLife-object-name|X-SecondLife-Object-Name}}" becomes "HTTP_X_SECONDLIFE_OBJECT_NAME".</sup>
{{!}} colspan="3" {{!}} <sup>CGI environments may place the headers into variables by capitalizing the entire name, replacing dashes with underscores, and prefixing the name with "HTTP_", e.g. "{{#if:{{{lower-case|}}}|x-secondlife-object-name|X-SecondLife-Object-Name}}" becomes "HTTP_X_SECONDLIFE_OBJECT_NAME".</sup>
{{!}} style="display:none;" {{!}}
{{!}} style="display:none;" {{!}}
{{!}} style="display:none;" {{!}}
{{!}} style="display:none;" {{!}}
{{!}}}
{{!}}}

Revision as of 00:59, 26 March 2011

Headers sent by the simulator in the course of calling llHTTPRequest.
Header Description Example data
X-SecondLife-Shard The environment the object is in. "Production" is the main grid and "Testing" is the preview grid Production
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-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-Local-Position The position of the object within the region (173.009827, 75.551231, 60.950001)
X-SecondLife-Local-Rotation The rotation of the object containing the script 0.000000, 0.000000, 0.000000, 1.000000
X-SecondLife-Local-Velocity The velocity of the object 0.000000, 0.000000, 0.000000
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
CGI environments may place the headers into variables by capitalizing the entire name, replacing dashes with underscores, and prefixing the name with "HTTP_", e.g. "X-SecondLife-Object-Name" becomes "HTTP_X_SECONDLIFE_OBJECT_NAME".