Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Working example to resolve #5863 | daneb | 2017-06-13 | 1 | -1/+2 |
| | |||||
* | Add 'hostname' param to wrapConnectedSocket | Ruslan Mustakov | 2017-05-04 | 1 | -3/+5 |
| | |||||
* | Implement dial, support IPv6 in httpclient (#5763) | Ruslan Mustakov | 2017-05-02 | 1 | -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 Picheta | 2017-04-15 | 1 | -6/+9 |
| | |||||
* | Fix #5611 | Daniil Yarancev | 2017-04-02 | 1 | -2/+2 |
| | |||||
* | Only remove scheme when there's a TLS request ("https") | Rayner De Los Santos F | 2017-03-03 | 1 | -2/+2 |
| | | | If condition, for not removing the scheme when proxied connection isn't a TLS request ("http://..."). | ||||
* | Ensure default SSL context is always initialized | Ruslan Mustakov | 2017-02-27 | 1 | -2/+10 |
| | |||||
* | make tests green again | Araq | 2017-02-26 | 1 | -3/+0 |
| | |||||
* | Fix the other withNewLine template. | Dominik Picheta | 2017-02-26 | 1 | -1/+1 |
| | |||||
* | Various fixes to FutureStreams based on PR feedback. | Dominik Picheta | 2017-02-26 | 1 | -23/+11 |
| | |||||
* | Add small warning in httpclient's onProgressChanged docs. | Dominik Picheta | 2017-02-26 | 1 | -0/+3 |
| | |||||
* | fixed premature finishing of httpclient.downloadFile | Araq | 2017-02-25 | 1 | -8/+6 |
| | |||||
* | Implement streamed async/sync downloadFile and deprecate old one. | Dominik Picheta | 2017-02-11 | 1 | -14/+46 |
| | |||||
* | Implement streamed body reading in httpclient. | Dominik Picheta | 2017-02-11 | 1 | -42/+108 |
| | |||||
* | Use onThreadCreation to set default SSL context for each thread (#5265) | Ruslan Mustakov | 2017-01-23 | 1 | -5/+8 |
| | | | Fixes: #4998 | ||||
* | Fixed query and anchor during relative redirection | Yuriy Glukhov | 2017-01-20 | 1 | -0/+2 |
| | |||||
* | Redirects support in request proc | Yuriy Glukhov | 2017-01-19 | 1 | -18/+28 |
| | |||||
* | Implement suggestions from @dom96 | Dmitry Polienko | 2016-11-02 | 1 | -18/+17 |
| | |||||
* | Don't persist generated headers between requests | Dmitry Polienko | 2016-10-31 | 1 | -11/+32 |
| | |||||
* | Reset HttpClient if new URL has different port | Dmitry Polienko | 2016-10-24 | 1 | -2/+4 |
| | |||||
* | Update httpclient documentation | Dennis Felsing | 2016-10-21 | 1 | -2/+2 |
| | |||||
* | Fix few typos | Federico Ceratto | 2016-10-17 | 1 | -2/+2 |
| | |||||
* | Add example for posting json content | Alpha Shuro | 2016-10-12 | 1 | -0/+14 |
| | | | i struggled to figure out how to post json content with nim's http client. this is a fundamental capability in many web apps, we don't always need to send data as multipart form data (e.g. when communicating via json apis) so frankly i'm surprised it isn't part of the "post" and "postContent" procs | ||||
* | asynchttpserver's Response object's req method uses HttpMethod now. | Dominik Picheta | 2016-09-25 | 1 | -3/+3 |
| | | | | Fixes #4423. | ||||
* | HTTP client's request proc no longer slices http method string param. | Dominik Picheta | 2016-09-25 | 1 | -4/+5 |
| | |||||
* | Improves httpclient documentation. | Dominik Picheta | 2016-09-24 | 1 | -32/+51 |
| | |||||
* | Implements onProgressChanged callback for httpclient. | Dominik Picheta | 2016-09-24 | 1 | -11/+51 |
| | |||||
* | Deprecates old httpclient procedures. | Dominik Picheta | 2016-09-24 | 1 | -6/+22 |
| | |||||
* | Implements getContent and postContent for (Async)HttpClient. | Dominik Picheta | 2016-09-24 | 1 | -1/+36 |
| | |||||
* | Handle redirects in HttpClient's post procs & post test. | Dominik Picheta | 2016-09-24 | 1 | -0/+10 |
| | |||||
* | Use `distinct range` for HttpCode as suggested by @nigredo-tori. | Dominik Picheta | 2016-09-19 | 1 | -2/+3 |
| | |||||
* | Implements proxy support for (Async)HttpClient. Ref #4423. | Dominik Picheta | 2016-09-18 | 1 | -18/+75 |
| | | | | Fixes #2160. | ||||
* | Implements timeouts for synchronous HttpClient. | Dominik Picheta | 2016-09-18 | 1 | -9/+22 |
| | |||||
* | Use HttpHeaders in httpclient module. | Dominik Picheta | 2016-09-18 | 1 | -8/+8 |
| | |||||
* | Improvements to httpclient. Refs #4423. | Dominik Picheta | 2016-09-18 | 1 | -87/+69 |
| | | | | | | * Adds ability to query HttpCode and compare it with strings. * Moves HttpMethod to HttpCore module. * Implements synchronous HttpClient using {.multisync.}. | ||||
* | Merge branch 'devel' of https://github.com/RyanMarcus/Nim into RyanMarcus-devel | Dominik Picheta | 2016-07-30 | 1 | -17/+54 |
|\ | |||||
| * | added when() block so that the compiler doesn't try to link SSL methods when ↵ | Ryan Marcus | 2016-07-27 | 1 | -21/+24 |
| | | | | | | | | SSL isn't available | ||||
| * | removed whitespace diffs | Ryan Marcus | 2016-07-27 | 1 | -2/+0 |
| | | |||||
| * | added code to send CONNECT request for https requests through proxies, fixes ↵ | Ryan Marcus | 2016-07-27 | 1 | -16/+52 |
| | | | | | | | | #4520 | ||||
* | | Merge pull request #4527 from hendi/httpclient-close-sockets | Andreas Rumpf | 2016-07-28 | 1 | -1/+1 |
|\ \ | |/ |/| | make httpclient close opened Socket on error | ||||
| * | use `defer` instead of `try ... finally` | Hendrik Richter | 2016-07-28 | 1 | -25/+22 |
| | |