Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

[BUG-230026] Extended error return for llHTTPRequest #7776

Open
sl-service-account opened this issue Jan 11, 2021 · 0 comments
Open

[BUG-230026] Extended error return for llHTTPRequest #7776

sl-service-account opened this issue Jan 11, 2021 · 0 comments

Comments

@sl-service-account
Copy link

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
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.',
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant