![]() Shows the recipients and protocols used between the User Agent and the server.ġ.1 :3128 (squid/2.7.STABLE9) Used to show the IP address connected to through proxies. Headers sent by the simulator in the course of calling llHTTPRequest. Details about extended return codes can be found below. Error information is delivered in a JSON block as described in RFC 7807. Detailed error information will be returned through the http_response event using the provided key. If there was an error making the HTTP request. If TRUE llHTTPRequest will always return a key. If the value of the header is not in the list of acceptable mime types, llHTTPRequest will return 415 as a result code and the body will be "Unsupported or unknown Content-Type." The Content-Type header in the response is checked against the specified HTTP_ACCEPT parameters. ![]() These include any text/ mime type, or the following application mime types: “application/xhtml+xml”, “application/atom+xml”, “application/json”, “application/xml”, “application/llsd+xml”, “application/x-javascript”, “application/javascript”, “application/x-www-form-urlencoded”, or “application/rss+xml”. The specified mime type must be one already recognized by llHTTPRequest. This parameter may be specified multiple times. Specified mime types may include character set and q parameters. HTTP_ACCEPT parameters can be passed to limit the number of mime types that are sent in the Accept: header of the HTTP request. Note: Spaces are not allowed in HTTP User Agent token values, so "My Script Name/1.0" will produce a script error change the spaces to hyphens ("-") It should follow the syntax from the HTTP standard like: "My-Script-Name/1.0 (Mozilla compatible)". The user agent value is appended to the one generated by LSL itself. Sends "Pragma: no-cache" header ( TRUE), or does not send a "Pragma" header ( FALSE). ![]() Note that certain headers, such as the default headers, are blocked for security reasons. Multiple custom headers may be configured per request, as long as the combined custom header length is no greater than 4096 characters. "Pragma", and the second string is the value, e.g. The first string is the name of the parameter to change, e.g. If FALSE, the error messages are suppressed (llHTTPRequest will still return NULL_KEY).Īdd an extra custom HTTP header to the request. ![]() If TRUE, shout error messages to DEBUG_CHANNEL if the outgoing request rate exceeds the server limit. 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. Tip: When you only need to request a small amount of data from a remote source, consider using the Content-Range header instead. Warning: Applies to the Outgoing pipeline only (HTTP calls invoked by llHTTPRequest,and responses from http_response). The maximum that can be set depends upon which VM is used. Sets the maximum (UTF-8 encoded) byte length of the HTTP response body. To emulate HTML forms use application/x-MIME types must be specified in the format: type / subtype Some valid examples are "text/html" "text/plain charset=utf-8" "application/xhtml+xml" "application/json" "application/x-www-form-urlencoded" "application/rss+xml" "multipart/mixed boundary="-1234567890-"" Text/* MIME types should specify a charset. stringĬonfiguration parameters, specified as HTTP_* flag-value pairs.Returns a handle (a key) identifying the HTTP request made. Sends an HTTP request to the specified URL with the body of the request and parameters.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |