libURLSetExpect100 | |||||||
Type | command | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | internet library | ||||||
Summary | Allows for a '100 Continue' header response to be received from the server | ||||||
Introduced | 2.5 | ||||||
OS | mac, windows, linux | ||||||
Platforms | desktop, server | ||||||
Parameters |
| ||||||
Related | Keyword: URL Message: startup, openBackground, preOpenStack, openStack, preOpenCard Command: post Function: libURLMultipartFormData, libURLFormData Glossary: main stack, handler, Standalone Application Settings, message, group, standalone application, keyword, command, application, LiveCode custom library Library: Internet library, library | ||||||
Security | network | ||||||
Description | When called, subsequent POST requests will add an "Expect: 100-continue" field to the http headers when the data to be posted excedes the limit. The data won't be written to the socket until a 100 Continue response is received from the server. This can be useful when posting large amounts of data and where there is a risk of the POST failing (because of failed authentication, or whatever). For example, if authentication is required, the data won't be written until after the authentication has cleared.
|