Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix #13894, httpclient hang on Http204 | narimiran | 2020-04-07 | 1 | -1/+1 |
| | |||||
* | SSL certificate verify GitHub action (#13697) | Federico Ceratto | 2020-03-20 | 1 | -0/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement SSL/TLS certificate checking #782 * SSL: Add nimDisableCertificateValidation Remove NIM_SSL_CERT_VALIDATION env var tests/untestable/thttpclient_ssl.nim ran successfully on Linux with libssl 1.1.1d * SSL: update integ test to skip flapping tests * Revert .travis.yml change * nimDisableCertificateValidation disable imports Prevent loading symbols that are not defined on older SSL libs * SSL: disable verification in net.nim ..when nimDisableCertificateValidation is set * Update changelog * Fix peername type * Add define check for windows * Disable test on windows * Add exprimental GitHub action CI for SSL * Test nimDisableCertificateValidation | ||||
* | Implement file streaming for httpclient's MultipartData (#12982) | Zed | 2020-03-06 | 1 | -147/+211 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add `uploadFile` to POST files by streaming them * Use constant for \c\L * Formatting * Remove uploadFile * Implement MultipartData file streaming * Remove unnecessary var annotations * Call string on TaintedStrings Fixes #12789 * Move cl constant to httpcore * Fix `request` inconsistencies * Update documentaion * Clean up * Skip multipart formatting when there's 0 entries * Remove extraneous `cl` from multipart formatting * Update MultipartData `$` to match old behaviour * Update comment * Address comments | ||||
* | httpclient, maxredirects to Natural, newHttpClient/newAsyncHttpClient add ↵ | Juan Carlos | 2020-01-21 | 1 | -5/+9 |
| | | | | headers argument instead of hardcoded empty (#13207) | ||||
* | Added fix for handling TaintedStrings in streams and httpclient (#12969) | Sam Wang | 2019-12-29 | 1 | -4/+4 |
| | | | | | | * Added fix for taint mode in streams and httpclient * Removed taintMode export from system.nim | ||||
* | Allow customize Host header | Jack Tang | 2019-12-28 | 1 | -4/+5 |
| | |||||
* | fix httpclient.lastModified bad pattern in parsing (#12698) | Pierre-Jean Grenier | 2019-11-29 | 1 | -1/+1 |
| | |||||
* | [backport] Fix style issues in lib/, tools/, and testament/. Fixes #12687. ↵ | 3n-k1 | 2019-11-28 | 1 | -3/+3 |
| | | | | (#12754) | ||||
* | replace some runtime repr in stdlib for gc:arc (#12716) | Andy Davidoff | 2019-11-25 | 1 | -1/+1 |
| | |||||
* | fixes #11863 multipart data need $ (#12707) | Andreas Rumpf | 2019-11-22 | 1 | -0/+13 |
| | | | | | * fixes #11863 * improved the code; refs #12412 | ||||
* | About 50% faster base64 implemention. (#12436) | treeform | 2019-10-17 | 1 | -1/+1 |
| | |||||
* | [backport] run nimpretty on web stuff | narimiran | 2019-09-30 | 1 | -13/+14 |
| | |||||
* | Revert "improvements for httpcore (#12228)" | narimiran | 2019-09-23 | 1 | -4/+4 |
| | | | | This reverts commit b865c2a54b7d706b31b5eba29dfdbb16809aa400. | ||||
* | improvements for httpcore (#12228) | Andreas Rumpf | 2019-09-23 | 1 | -4/+4 |
| | | | | | * improvements for httpcore * further improvements, now stable API but needs extensions later on | ||||
* | Remove old and unused parseBody/parseResponse procs in httpclient. (#11949) | Dominik Picheta | 2019-08-26 | 1 | -130/+2 |
| | |||||
* | Fixes regression introduced by #11904. (#11948) | Dominik Picheta | 2019-08-15 | 1 | -2/+4 |
| | |||||
* | Fix issue #10726 - HTTP response without Content-Length is not accessible ↵ | konradmb | 2019-08-08 | 1 | -2/+8 |
| | | | | | | | | | | | | (#11904) * Add patch by @xenogenesi * Async test for HTTP/1.1 without Content-Length * Apply suggestions from code review Co-Authored-By: Dominik Picheta <dominikpicheta@googlemail.com> | ||||
* | Use std/monotimes in the stdlib | Oscar Nihlgård | 2019-07-16 | 1 | -5/+5 |
| | |||||
* | make more parts of the stdlib compile with --styleCheck:error | Araq | 2019-07-10 | 1 | -14/+14 |
| | |||||
* | [documentation] fix #11281, httpclient examples (#11455) | Juan Carlos | 2019-06-10 | 1 | -1/+48 |
| | |||||
* | added getSocket proc (#11233) | Boris Shomodjvarac | 2019-05-15 | 1 | -0/+15 |
| | |||||
* | Fixes #10357 (#10618) | Juan Carlos | 2019-02-13 | 1 | -1/+1 |
| | |||||
* | Updated httpClient.nim: added import httpClient statements in examples | Mandeep Singh | 2019-01-26 | 1 | -0/+2 |
| | | | Added import httpClient statements in examples, as it was not obvious for a new started from python regarding what to import | ||||
* | Remove long deprecated stuff (#10332) | Miran | 2019-01-18 | 1 | -243/+0 |
| | |||||
* | Merge pull request #9548 from tonygparsehub/put-delete | Dominik Picheta | 2018-11-23 | 1 | -42/+78 |
|\ | | | | | fix #8777 add missing http methods in httpClient | ||||
| * | fix #8777 add missing http methods in httpClient | Tony G | 2018-10-30 | 1 | -42/+78 |
| | | |||||
* | | removes deprecated T/P types | Araq | 2018-11-16 | 1 | -3/+1 |
|/ | |||||
* | fixes #7842 if no uri.scheme specified raise ValueError with hint (#7846) | David Krause | 2018-10-27 | 1 | -0/+3 |
| | | | | | | | | * fixes #7842 if no uri.scheme specified on request rais ValueError with hint Signed-off-by: enthus1ast <david@code0.xyz> * Update httpclient.nim | ||||
* | even more strict isNil handling for strings/seqs in order to detect bugs | Araq | 2018-08-22 | 1 | -2/+2 |
| | |||||
* | fixes more nil handling regressions | Araq | 2018-08-13 | 1 | -7/+7 |
| | |||||
* | make more tests green | Andreas Rumpf | 2018-08-13 | 1 | -1/+1 |
| | |||||
* | AsyncHttpClient: return from requests before body completion | Emery Hemingway | 2018-08-08 | 1 | -2/+13 |
| | | | | | | | | | Store the body completion future at the client and wait for it to complete before issuing additional requests. This allows the body FutureStream reader to drain the stream and read buffers to be freed asynchronously. Fix #8109 | ||||
* | Minor doc fix | Federico Ceratto | 2018-06-23 | 1 | -1/+1 |
| | |||||
* | hotfix: fixes SSL initialization for httpclient with --threads:on (#7863) | Andreas Rumpf | 2018-05-22 | 1 | -20/+18 |
| | | | | * hotfix: fixes SSL initialization for httpclient with --threads:on | ||||
* | remove deprecated stuff from the stdlib; introduce better deprecation warnings | Araq | 2018-05-05 | 1 | -11/+5 |
| | |||||
* | Fixes crash in httpclient due to new string indexing rules. | Dominik Picheta | 2018-05-04 | 1 | -1/+1 |
| | |||||
* | make httpclient work without zero terminators | Andreas Rumpf | 2018-04-29 | 1 | -7/+3 |
| | |||||
* | fix #7680 (#7683) | hlaaf | 2018-04-26 | 1 | -3/+6 |
| | | | | | | | | | | * fix #7680 * Don't send on every HTTP method * These should be squashed * 80 column limit | ||||
* | Improve progress reporting example. Refs #7693 | Dominik Picheta | 2018-04-25 | 1 | -3/+8 |
| | |||||
* | copy pastable progress reporting example | David Krause | 2018-04-25 | 1 | -1/+2 |
| | |||||
* | Call requestAux not request in httpclient. | Dominik Picheta | 2018-04-07 | 1 | -1/+1 |
| | |||||
* | fixes httpclient documentation comment | Araq | 2018-03-12 | 1 | -1/+1 |
| | |||||
* | Improve SSL error message in httpclient. | Dominik Picheta | 2018-02-22 | 1 | -5/+6 |
| | |||||
* | Merges #7226 manually. | Dominik Picheta | 2018-02-19 | 1 | -0/+25 |
| | |||||
* | Workaround 'defer' issue in httpclient.downloadFile. Refs #3877. (#7101) | Dominik Picheta | 2018-01-18 | 1 | -13/+32 |
| | |||||
* | Fixed crash in ssl httpclient | Yuriy Glukhov | 2018-01-11 | 1 | -3/+9 |
| | |||||
* | Fixes httpclient proxies. Fixes #6685 (#6694) | Ganesh Viswanathan | 2017-11-07 | 1 | -36/+38 |
| | | | | | | * Fix for #6685 * Fixed test breakage - SSL call wasn't within when defined(ssl) check | ||||
* | Fixes req w/ both Content-Length & Connection: close headers. | Dominik Picheta | 2017-10-13 | 1 | -4/+18 |
| | | | | | Also closes the socket when connection is closed to ensure that a new connection is made on any further requests. | ||||
* | Fixes #6284. | Dominik Picheta | 2017-08-28 | 1 | -0/+2 |
| | |||||
* | Minor formatting | daneb | 2017-06-13 | 1 | -1/+1 |
| |