libURLLastRHHeaders

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

# Metadata

Platforms: desktop, server OS: mac, windows, linux, web Introduced: 1.1.1 Security: network

# Syntax

libURLLastRHHeaders()

# Examples

if libURLLastRHHeaders() is mostRecentSet then exit to top

# 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 > LiveCode custom library when you create your > standalone application. In the Inclusions pane of the > Standalone Application Settings window, make sure the "Internet" > script library is selected.

# Tags

# See

- **property:** httpHeaders - **library:** Internet library - **keyword:** http - **control structure:** function - **function:** libURLLastHTTPHeaders, URLStatus - **command:** load - **glossary:** LiveCode custom library, Standalone Application Settings, return, standalone application