libURLLastRHHeaders

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
libURLLastRHHeaders()
Associationsinternet library
Summary

Returns the headers sent by the remote host in the most recent HTTP transaction.

Introduced1.1.1
OSmac, windows, linux, web
Platformsdesktop, server
Example
if libURLLastRHHeaders() is mostRecentSet then exit to top
Values
NameTypeDescription
return

The libURLLastRHHeaders function returns a string.

RelatedProperty: httpHeaders
Library: Internet library
Keyword: http
Control Structure: function
Function: libURLLastHTTPHeaders, URLStatus
Command: load
Glossary: LiveCode custom library, Standalone Application Settings, return, standalone application
Securitynetwork
Description

Use the libURLLastRHHeaders function to respond to custom header information that the Internet library does not handle.

Whenever another system sends data via HTTP to your system, the remote system sends an HTTP header along with the data. This header generally consists of several lines and may include the request type, the HTTP protocol version being used, and other information.

Important: The libURLLastRHHeaders function is part of the Internet library. To ensure that the function works in a standalone application, you must include this custom library when you create your standalone. In the Inclusions pane of the Standalone Application Settings window, make sure the "Internet" script library is selected.

Tagsnetworking