Difference between revisions of "HTTP BODY MAXLENGTH"
Jump to navigation
Jump to search
(Add additional notes from main llHTTPRequest page.) |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
|type=integer | |type=integer | ||
|value=2 | |value=2 | ||
|desc | |desc=Used with [[llHTTPRequest]] to set the maximum size the script will accept'''*''' for an HTTP body. The largest value this can be set to depends upon the VM that is being used. | ||
{{KBtip|When you only need to request a small amount of data from a remote source, consider using the [https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Range Content-Range header] instead.}} | |||
'''* See caveats''' | |||
===[[Mono]]=== | |||
*Maximum: 16KiB | |||
===[[LSO]]=== | |||
*Maximum: 4KiB | |||
|examples | |examples | ||
|functions= | |functions= | ||
{{LSL DefineRow||[[llHTTPRequest]]|}} | {{LSL DefineRow||[[llHTTPRequest]]|}} | ||
|events | |events | ||
|cat1 | |caveats=*'''*''' Only applies to the [[:Category:LSL HTTP#Understanding_LSL_HTTP_Communications | Outgoing]] HTTP pipeline (HTTP calls invoked by [[llHTTPRequest]],and responses from [[http_response]]). | ||
|cat1=HTTP/Client | |||
|cat2 | |cat2 | ||
|cat3 | |cat3 | ||
|cat4 | |cat4 | ||
|history=*[[Release_Notes/Second_Life_RC_Magnum/12]] | |||
}} | }} |
Latest revision as of 05:04, 14 July 2022
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer HTTP_BODY_MAXLENGTH = 2;The integer constant HTTP_BODY_MAXLENGTH has the value 2
Used with llHTTPRequest to set the maximum size the script will accept* for an HTTP body. The largest value this can be set to depends upon the VM that is being used.
Tip: When you only need to request a small amount of data from a remote source, consider using the Content-Range header instead. |
* See caveats
Mono
- Maximum: 16KiB
LSO
- Maximum: 4KiB
Caveats
- * Only applies to the Outgoing HTTP pipeline (HTTP calls invoked by llHTTPRequest,and responses from http_response).
Related Articles
Functions
• | llHTTPRequest |