Error getting tags :
error 404Error getting tags :
error 404 libURLLastHTTPHeaders | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
libURLLastHTTPHeaders
Basics
Expander triangle
Type
Function
Syntax

libURLLastHTTPHeaders()

Introduced
1.1.1
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
Network
Summary
Returns the value of the httpHeadersproperty used for the previous HTTP request.
Examples

put libURLLastHTTPHeaders() into headersToAnalyze
if probReq is among the lines of libURLLastHTTPHeaders() then tryAgain

Additional Comments
Expander triangle

Use the libURLLastHTTPHeaders function to debug problems with HTTP transfers, or to report errors to advanced users.

Value:

The libURLLastHTTPHeaders function returns a string.

Comments:

You can set the httpHeaders property to send custom headers in addition to the default headers. Whenever Revolution contacts a web server 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.

Important! The libURLLastHTTPHeadersfunction 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 section of the Standalone Application Settings window, make sure "Internet Library" is selected in the list of script libraries.

User Comments
Expander triangle