Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | |||||
| * | remove superfluous `except: raise` | Hendrik Richter | 2016-07-28 | 1 | -2/+0 |
| | | |||||
| * | make httpclient close opened Socket on error | Hendrik Richter | 2016-07-28 | 1 | -22/+27 |
| | | |||||
* | | Fix empty body on HTTP/1.0 connections | Hendrik Richter | 2016-06-16 | 1 | -6/+7 |
|/ | | | | | HTTP/1.0 does not send `Connection: close`. Thus we read till the end of the response in order to catch the whole body. | ||||
* | Use passed user agent in `newAsyncHttpClient` | Euan T | 2016-06-05 | 1 | -1/+1 |
| | | | Fixes #4273. | ||||
* | Fixes #3847. | Dominik Picheta | 2016-06-02 | 1 | -0/+7 |
| | |||||
* | httpclient now uses httpcore.HttpHeaders | Dominik Picheta | 2016-06-02 | 1 | -8/+8 |
| | |||||
* | moved random procs from math to its own module (breaking change) | Andreas Rumpf | 2016-05-30 | 1 | -1/+2 |
| | |||||
* | Stdlib: httpclient: `export strtabs` added. | Konstantin Molchanov | 2016-05-28 | 1 | -0/+2 |
| | | | | | When using `httpclient`, viewing HTTP headers is impossible without importing `strtabs`, which is very much _not_ obvious; it's impossible to know without deep diving into the docs. Dealing with headers is an essential part of working with HTTP in general, so I propose this change. The situation is analogous to this one with `nre` and `options`: https://github.com/nim-lang/Nim/issues/4158 | ||||
* | Fixed some warnings in httpclient, net, and openssl. | Dominik Picheta | 2016-04-04 | 1 | -2/+2 |
| | |||||
* | Remove debug `echo` introduced in #3896. | Dominik Picheta | 2016-02-24 | 1 | -1/+0 |
| | |||||
* | Fix redirection in httpclient (fixes #3895) | def | 2016-02-23 | 1 | -7/+9 |
| | |||||
* | Fixes incorrect Host header when using httpclient with proxy. | Dominik Picheta | 2015-12-29 | 1 | -5/+5 |
| | |||||
* | updated httpclient to use tables.getOrDefault | Araq | 2015-10-14 | 1 | -7/+7 |
| | |||||
* | Rename rawsockets module to nativesockets | Adam Strzelecki | 2015-10-03 | 1 | -4/+4 |
| | | | | | | | | | | This change was done to avoid confusion with TCP/IP raw sockets. Native sockets module represents handling native system low level socket API in general and is not just limited anyhow to TCP/IP raw sockets. A stub lib/deprecated/pure/rawsockets.nim module has been added as compatibility layer for old code using rawsockets, so this change will not break existing code. | ||||
* | Include port in host header as expected | Doran | 2015-09-04 | 1 | -2/+10 |
| | |||||
* | Set correct Host in request header | jonathonf | 2015-08-01 | 1 | -1/+1 |
| | | | | | Ensure the correct destination hostname is used in the request, otherwise the request will fail in one of a number of interesting ways when using a proxy. Fixes https://github.com/nim-lang/Nim/issues/3166 | ||||
* | Fix async httpclient post to work without multipart | def | 2015-07-10 | 1 | -2/+3 |
| | |||||
* | Implement async `post` request | Bruce Doan | 2015-07-02 | 1 | -0/+18 |
| | |||||
* | Fixes #2884 | Dominik Picheta | 2015-06-08 | 1 | -2/+4 |
| | | | | Haven't tested this patch but should work. | ||||
* | Fixed 'milliseconds' spelling in code and docs | pdw | 2015-05-15 | 1 | -8/+8 |
| | |||||
* | Don't run non-test code when defined(testing) | Oleh Prypin | 2015-04-21 | 1 | -1/+1 |
| | |||||
* | Use `^` instead of `-` in slices | def | 2015-03-28 | 1 | -5/+5 |
| | |||||
* | Fixes bugs introduced by ee62d56cadb. Closes #2227. | Dominik Picheta | 2015-03-05 | 1 | -2/+8 |
| | |||||
* | Fix typos | Federico Ceratto | 2015-02-15 | 1 | -2/+2 |
| | |||||
* | Added documentation for the new http request procedures. | Varriount | 2015-01-23 | 1 | -1/+13 |
| | |||||
* | Fixes #1962 | Varriount | 2015-01-22 | 1 | -24/+33 |
| | |||||
* | Fix body in httpclient | def | 2015-01-13 | 1 | -2/+2 |
| | | | | | - Never append a newline to the body in a HTTP post. - Pass the entire body to redirections, including multipart data | ||||
* | Rename newData() to newMultipartData() | def | 2015-01-05 | 1 | -5/+5 |
| | |||||
* | A few more fixes to httpclient multipart | def | 2015-01-05 | 1 | -4/+9 |
| | |||||
* | post should work when extra headers don't have trailing newline | def | 2015-01-05 | 1 | -2/+11 |
| | |||||
* | Check that p is not nil in format | def | 2015-01-05 | 1 | -1/+1 |
| | |||||
* | Add multipart parameter to httpclient's post and postContent | def | 2015-01-05 | 1 | -35/+128 |
| |