summary refs log tree commit diff stats
path: root/lib/pure/httpclient.nim
Commit message (Collapse)AuthorAgeFilesLines
* Fixes #10357 (#10618)Juan Carlos2019-02-131-1/+1
|
* Updated httpClient.nim: added import httpClient statements in examplesMandeep Singh2019-01-261-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)Miran2019-01-181-243/+0
|
* Merge pull request #9548 from tonygparsehub/put-deleteDominik Picheta2018-11-231-42/+78
|\ | | | | fix #8777 add missing http methods in httpClient
| * fix #8777 add missing http methods in httpClientTony G2018-10-301-42/+78
| |
* | removes deprecated T/P typesAraq2018-11-161-3/+1
|/
* fixes #7842 if no uri.scheme specified raise ValueError with hint (#7846)David Krause2018-10-271-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 bugsAraq2018-08-221-2/+2
|
* fixes more nil handling regressionsAraq2018-08-131-7/+7
|
* make more tests greenAndreas Rumpf2018-08-131-1/+1
|
* AsyncHttpClient: return from requests before body completionEmery Hemingway2018-08-081-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 fixFederico Ceratto2018-06-231-1/+1
|
* hotfix: fixes SSL initialization for httpclient with --threads:on (#7863)Andreas Rumpf2018-05-221-20/+18
| | | | * hotfix: fixes SSL initialization for httpclient with --threads:on
* remove deprecated stuff from the stdlib; introduce better deprecation warningsAraq2018-05-051-11/+5
|
* Fixes crash in httpclient due to new string indexing rules.Dominik Picheta2018-05-041-1/+1
|
* make httpclient work without zero terminatorsAndreas Rumpf2018-04-291-7/+3
|
* fix #7680 (#7683)hlaaf2018-04-261-3/+6
| | | | | | | | | | * fix #7680 * Don't send on every HTTP method * These should be squashed * 80 column limit
* Improve progress reporting example. Refs #7693Dominik Picheta2018-04-251-3/+8
|
* copy pastable progress reporting exampleDavid Krause2018-04-251-1/+2
|
* Call requestAux not request in httpclient.Dominik Picheta2018-04-071-1/+1
|
* fixes httpclient documentation commentAraq2018-03-121-1/+1
|
* Improve SSL error message in httpclient.Dominik Picheta2018-02-221-5/+6
|
* Merges #7226 manually.Dominik Picheta2018-02-191-0/+25
|
* Workaround 'defer' issue in httpclient.downloadFile. Refs #3877. (#7101)Dominik Picheta2018-01-181-13/+32
|
* Fixed crash in ssl httpclientYuriy Glukhov2018-01-111-3/+9
|
* Fixes httpclient proxies. Fixes #6685 (#6694)Ganesh Viswanathan2017-11-071-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 Picheta2017-10-131-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 Picheta2017-08-281-0/+2
|
* Minor formattingdaneb2017-06-131-1/+1
|
* Working example to resolve #5863daneb2017-06-131-1/+2
|
* Add 'hostname' param to wrapConnectedSocketRuslan Mustakov2017-05-041-3/+5
|
* Implement dial, support IPv6 in httpclient (#5763)Ruslan Mustakov2017-05-021-14/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement dial, support IPv6 in httpclient Added ``dial`` procedure to networking modules: ``net``, ``asyncdispatch``, ``asyncnet``. It merges socket creation, address resolution, and connection into single step. When using ``dial``, you don't have to worry about IPv4 vs IPv6 problem. Fixed addrInfo loop in connect to behave properly. Previously it would stop on first non-immediate failure, instead of continuing and trying the remaining addresses. Fixed newAsyncNativeSocket to raise proper error if socket creation fails. Fixes: #3811 * Check domain during connect() only on non-Windows This is how it was in the previous implementation of connect(). * Call 'osLastError' before 'close' in net.dial * Record osLastError before freeAddrInfo in net.dial * Add missing docs for 'dial' proc * Optimize dial to create one FD per domain, add tests And make async IPv6 servers work on Windows. * Add IPv6 test to uri module * Fix getAddrString error handling
* Fixes #5710. Closes #5711.Dominik Picheta2017-04-151-6/+9
|
* Fix #5611Daniil Yarancev2017-04-021-2/+2
|
* Only remove scheme when there's a TLS request ("https")Rayner De Los Santos F2017-03-031-2/+2
| | | If condition, for not removing the scheme when proxied connection isn't a TLS request ("http://...").
* Ensure default SSL context is always initializedRuslan Mustakov2017-02-271-2/+10
|
* make tests green againAraq2017-02-261-3/+0
|
* Fix the other withNewLine template.Dominik Picheta2017-02-261-1/+1
|
* Various fixes to FutureStreams based on PR feedback.Dominik Picheta2017-02-261-23/+11
|
* Add small warning in httpclient's onProgressChanged docs.Dominik Picheta2017-02-261-0/+3
|
* fixed premature finishing of httpclient.downloadFileAraq2017-02-251-8/+6
|
* Implement streamed async/sync downloadFile and deprecate old one.Dominik Picheta2017-02-111-14/+46
|
* Implement streamed body reading in httpclient.Dominik Picheta2017-02-111-42/+108
|
* Use onThreadCreation to set default SSL context for each thread (#5265)Ruslan Mustakov2017-01-231-5/+8
| | | Fixes: #4998
* Fixed query and anchor during relative redirectionYuriy Glukhov2017-01-201-0/+2
|
* Redirects support in request procYuriy Glukhov2017-01-191-18/+28
|
* Implement suggestions from @dom96Dmitry Polienko2016-11-021-18/+17
|
* Don't persist generated headers between requestsDmitry Polienko2016-10-311-11/+32
|
* Reset HttpClient if new URL has different portDmitry Polienko2016-10-241-2/+4
|
* Update httpclient documentationDennis Felsing2016-10-211-2/+2
|