You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 4, 2025. It is now read-only.
Add an additional flag that can be passed into llHTTPRequest. This flag is used to provide extended debug and error information to script developers using HTTP.
|Flag|Parameters|Default Parameter|Description|
|
|-|-|-|-|-|
|HTTP_EXTENDED_ERROR|[ integer extended]|[FALSE]|- If FALSE, in the event of an error that prevents further processing of an HTTP request return a NULL_KEY and shout errors to the DEBUG_CHANNEL. (old behavior) - If TRUE, return a valid key and generate an HTTP error response that may be handled by the http_response event.|
(420?)|When the HTTP throttle has been hit, the simulator generates a 429(Too many requests) response and sends that to any http_response events that may be listening. The response will also include a retry-after header indicating the number of seconds the script should wait before again attempting a connection.|
|
|Rejected Headers|422|Certain headers may not be specified using HTTP_CUSTOM_HEADER. When these headers are encountered LSL will generate a 422(Unprocessable Entity) response and pass that to any http_response event handlers that may be active. The response will not indicate which headers were rejected or why.|
# Why is this feature important to you? How would it benefit the community?
Provides additional information to LSL developers about issues in HTTP calls.|
Original Jira Fields
Field
Value
Issue
BUG-230026
Summary
Extended error return for llHTTPRequest
Type
New Feature Request
Priority
Unset
Status
Accepted
Resolution
Accepted
Reporter
Rider Linden (rider.linden)
Created at
2021-01-11T22:13:59Z
Updated at
2021-01-15T21:01:44Z
{
'Build Id': 'unset',
'Business Unit': ['Platform'],
'How would you like the feature to work?': 'Add a new flag to the llHTTPRequest call.\r\n',
'Original Reporter': 'Rider Linden (rider.linden)',
'ReOpened Count': 0.0,
'Severity': 'Unset',
'Target Viewer Version': 'viewer-development',
'Why is this feature important to you? How would it benefit the community?': 'Provides additional information to LSL developers about issues in HTTP calls.',
}
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
How would you like the feature to work?
Add an additional flag that can be passed into llHTTPRequest. This flag is used to provide extended debug and error information to script developers using HTTP.
|Flag|Parameters|Default Parameter|Description|
|
|-|-|-|-|-|
|HTTP_EXTENDED_ERROR|[ integer extended]|[FALSE]|- If FALSE, in the event of an error that prevents further processing of an HTTP request return a NULL_KEY and shout errors to the DEBUG_CHANNEL. (old behavior)
- If TRUE, return a valid key and generate an HTTP error response that may be handled by the http_response event.|
HTTP_EXTENDED_ERROR processing.
|
|Condition|HTTP Code|Results|
|
|HTTP Throttling|429
(420?)|When the HTTP throttle has been hit, the simulator generates a 429(Too many requests) response and sends that to any http_response events that may be listening. The response will also include a retry-after header indicating the number of seconds the script should wait before again attempting a connection.|
|
|Rejected Headers|422|Certain headers may not be specified using HTTP_CUSTOM_HEADER. When these headers are encountered LSL will generate a 422(Unprocessable Entity) response and pass that to any http_response event handlers that may be active. The response will not indicate which headers were rejected or why.|
# Why is this feature important to you? How would it benefit the community?
Provides additional information to LSL developers about issues in HTTP calls.|
Original Jira Fields
The text was updated successfully, but these errors were encountered: