libURLLastHTTPHeaders | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | internet library | ||||||
Summary | Returns the value of the httpHeaders property used for the previous HTTP request. | ||||||
Introduced | 1.1.1 | ||||||
OS | mac, windows, linux, web | ||||||
Platforms | desktop, server | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Property: httpHeaders Library: Internet library Keyword: URL, http Control Structure: function Function: libURLLastRHHeaders, value Command: post, libURLSetCustomHTTPHeaders, libURLFollowHttpRedirects, load Glossary: LiveCode custom library, property, return, web server, Standalone Application Settings, download, standalone application, expression, command | ||||||
Security | network | ||||||
Description | Use the libURLLastHTTPHeaders function to debug problems with HTTP transfers, or to report errors to advanced users. You can set the httpHeaders property to send custom headers in addition to the default headers. Whenever LiveCode contacts a webserver to download a page (with the load command or by using a URL in an expression) or to post data (with the post command), the contents of the httpHeaders property is sent to the web server. The libURLLastHTTPHeaders function returns the last set of custom headers used.
| ||||||
Tags | networking |