X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_request_object.c;h=5e233adabf44a62c6044d0af5c607b64eefd5e5a;hp=7eb00d493809e176c1bce075413d84f364113529;hb=08bec19979c75a45978c7c7a7c6d7926a9d5322e;hpb=29c05d24f9235c6525da19568062d60ff59eb4af diff --git a/http_request_object.c b/http_request_object.c index 7eb00d4..5e233ad 100644 --- a/http_request_object.c +++ b/http_request_object.c @@ -403,6 +403,11 @@ static inline void _http_request_object_declare_default_properties(TSRMLS_D) /* WebDAV Access Control - RFC 3744 */ DCL_CONST(long, "METH_ACL", HTTP_ACL); + /* cURL HTTP protocol versions */ + DCL_CONST(long, "VERSION_1_0", CURL_HTTP_VERSION_1_0); + DCL_CONST(long, "VERSION_1_1", CURL_HTTP_VERSION_1_1); + DCL_CONST(long, "VERSION_NONE", CURL_HTTP_VERSION_NONE); + /* * Auth Constants */