diff options
author | bptato <nincsnevem662@gmail.com> | 2023-12-13 12:08:05 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-12-13 12:56:28 +0100 |
commit | ab203acf554993d15e37604773f160c84b4d8252 (patch) | |
tree | 45428aa45bc751f788cc5c52c32b15bb8a2363f1 /src/bindings | |
parent | bf761bcb6dcc5288a86aa5e8c2b67df3f0df056b (diff) | |
download | chawan-ab203acf554993d15e37604773f160c84b4d8252.tar.gz |
Move http out of main binary
Now it is (technically) no longer mandatory to link to libcurl. Also, Chawan is at last completely protocol and network backend agnostic :) * Implement multipart requests in local CGI * Implement simultaneous download of CGI data * Add REQUEST_HEADERS env var with all headers * cssparser: add a missing check in consumeEscape
Diffstat (limited to 'src/bindings')
-rw-r--r-- | src/bindings/curl.nim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bindings/curl.nim b/src/bindings/curl.nim index cd9e409a..a36a3fb7 100644 --- a/src/bindings/curl.nim +++ b/src/bindings/curl.nim @@ -95,15 +95,18 @@ type CURLOPT_HEADERDATA = CURLOPTTYPE_CBPOINT + 29 CURLOPT_ACCEPT_ENCODING = CURLOPTTYPE_STRINGPOINT + 102 CURLOPT_MIMEPOST = CURLOPTTYPE_OBJECTPOINT + 269 + CURLOPT_PREREQDATA = CURLOPTTYPE_CBPOINT + 313 # Functionpoint CURLOPT_WRITEFUNCTION = CURLOPTTYPE_FUNCTIONPOINT + 11 CURLOPT_READFUNCTION = CURLOPTTYPE_FUNCTIONPOINT + 12 CURLOPT_HEADERFUNCTION = CURLOPTTYPE_FUNCTIONPOINT + 79 + CURLOPT_PREREQFUNCTION = CURLOPTTYPE_FUNCTIONPOINT + 312 # Off-t CURLOPT_INFILESIZE_LARGE = CURLOPTTYPE_OFF_T + 115 CURLOPT_RESUME_FROM_LARGE = CURLOPTTYPE_OFF_T + 116 + CURLOPT_POSTFIELDSIZE_LARGE = CURLOPTTYPE_OFF_T + 120 # Blob CURLOPT_SSLCERT_BLOB = CURLOPTTYPE_BLOB + 291 |