Difference between revisions of "Template:LSL Constants HTTP"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
{{{!}} {{Prettytable}}
{{{!}} class="sortable" {{Prettytable}}
{{!}}-{{Hl2}}
{{!}}-{{Hl2}}
! colspan="2" {{!}} '''Flag''' !! '''Parameter Type''' !! '''Default''' !! '''Description'''
! '''Flag'''
! title="Value" {{!}}
! class="unsortable" {{!}} '''Parameter Type'''
! class="unsortable" {{!}} '''Default'''
! class="unsortable" {{!}} '''Description'''
{{!}}-
{{!}}-
{{!}} {{LSLG|HTTP_METHOD}}
{{!}} {{LSL Const|HTTP_METHOD|integer|0}}
{{!}} 0
{{!}} {{var:value}}
{{!}} {{LSLG|string}}
{{!}} [[string]]
{{!}} "GET"
{{!}} "GET"
{{!}} 'GET', 'POST', 'PUT' and 'DELETE'
{{!}} 'GET', 'POST', 'PUT' and 'DELETE'
{{!}}-
{{!}}-
{{!}} {{LSLG|HTTP_MIMETYPE}}
{{!}} {{LSL Const|HTTP_MIMETYPE|integer|1}}
{{!}} 1
{{!}} {{var:value}}
{{!}} {{LSLG|string}}
{{!}} [[string]]
{{!}} "text/plain;charset=utf-8"
{{!}} "text/plain;charset=utf-8"
{{!}} text/* MIME types should specify a charset. To emulate HTML forms use application/x-www-form-urlencoded. This allows you to set the body to a properly escaped (llEscapeURL) sequence of <name,value> pairs in the form var=value&var2=value2 and have them automatically parsed by web frameworks
{{!}} text/* MIME types should specify a charset. To emulate HTML forms use application/x-www-form-urlencoded. This allows you to set the body to a properly escaped (llEscapeURL) sequence of <name,value> pairs in the form var=value&var2=value2 and have them automatically parsed by web frameworks
{{!}}-
{{!}}-
{{!}} {{LSLG|HTTP_BODY_MAXLENGTH}}
{{!}} {{LSL Const|HTTP_BODY_MAXLENGTH|integer|2}}
{{!}} 2
{{!}} {{var:value}}
{{!}} {{LSLG|integer}}
{{!}} [[integer]]
{{!}} 2048
{{!}} 2048
{{!}} Setting HTTP_BODY_MAXLENGTH is not yet supported
{{!}} Setting HTTP_BODY_MAXLENGTH is not yet supported
{{!}}-
{{!}}-
{{!}} {{LSLG|HTTP_VERIFY_CERT}}
{{!}} {{LSL Const|HTTP_VERIFY_CERT|integer|3}}
{{!}} 3
{{!}} {{var:value}}
{{!}} {{LSLG|integer}} {{HoverText|boolean|TRUE or FALSE}}
{{!}} [[integer]] {{HoverText|boolean|TRUE or FALSE}}
{{!}} TRUE
{{!}} TRUE
{{!}} If TRUE, the server SSL certificate must be verifiable using one of the standard certificate authorities when making HTTPS requests. If FALSE, any server SSL certificate will be accepted.
{{!}} If TRUE, the server SSL certificate must be verifiable using one of the standard certificate authorities when making HTTPS requests. If FALSE, any server SSL certificate will be accepted.
{{!}}}
{{!}}}

Revision as of 15:47, 22 July 2007

Flag Parameter Type Default Description
HTTP_METHOD Template:Var:value string "GET" 'GET', 'POST', 'PUT' and 'DELETE'
HTTP_MIMETYPE Template:Var:value string "text/plain;charset=utf-8" text/* MIME types should specify a charset. To emulate HTML forms use application/x-www-form-urlencoded. This allows you to set the body to a properly escaped (llEscapeURL) sequence of <name,value> pairs in the form var=value&var2=value2 and have them automatically parsed by web frameworks
HTTP_BODY_MAXLENGTH Template:Var:value integer 2048 Setting HTTP_BODY_MAXLENGTH is not yet supported
HTTP_VERIFY_CERT Template:Var:value integer boolean TRUE If TRUE, the server SSL certificate must be verifiable using one of the standard certificate authorities when making HTTPS requests. If FALSE, any server SSL certificate will be accepted.