Meet us at at Real World in Orlando, Florida.
All functions
Mac OS X
Windows
Crossplatform
Components
Guides
New in version:
2.0
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
CURL.SetOptionHTTPVersion
Component: CURL
Version: 2.5
Mac OS X: Works
Windows: Works
MBS( "CURL.SetOptionHTTPVersion"; handle; value )
Parameters
| Parameter | Description | Example value |
|---|---|---|
| Handle | The CURL session handle. | $curl |
| Value | Sets the HTTP Version. | 2 |
Result
Returns "OK" on success.
Description
Sets which HTTP version is used.This is not sensible to do unless you have a good reason.
| CURL_HTTP_VERSION_NONE | 0 | We don't care about what version the library uses. libcurl will use whatever it thinks fit. |
| CURL_HTTP_VERSION_1_0 | 1 | Enforce HTTP 1.0 requests. |
| CURL_HTTP_VERSION_1_1 | 2 | Enforce HTTP 1.1 requests. |
Feedback: Report problem or ask question.
Links
MBS Realbasic PDF Plugins - Besuchen Sie die JUZ Nickenich Webseite