This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.
This version is copyright and may only be used for local testing purposes. It may not be distributed.
Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.
Description
Get / Set option controlling behaviour related to Location: response header.
Syntax
' GET
locationFlag = <cUrl_Http>.Location
' SET
<cUrl_Http>.Location = locationFlag
Returns
Value of the .Include flag.
Parameters
Name |
Type |
Optional |
Meaning |
locationFlag |
Boolean |
Yes |
Boolean flag to switch whether curl follows Location: response header |
Remarks
Official documentation of the location flag: https://curl.se/docs/manpage.html#-L
Restrictions
See also
Examples
uses "curl"
Dim httpRequest As New cUrl_Http("https://www.thinbasic.com")
httpRequest.Location = True ' Instructs CURL to check if server response
' contains Location: header and behave accordingly
httpRequest.Exec