Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Remove debug messages | def | 2015-01-03 | 1 | -2/+0 |
| | |||||
* | Apply #1824 to fix #1823 | def | 2015-01-03 | 1 | -2/+4 |
| | |||||
* | Minor cleanup | def | 2015-01-03 | 1 | -3/+2 |
| | |||||
* | Fix httpclient to properly encode queries (path?queries) | def | 2015-01-03 | 1 | -2/+7 |
| | |||||
* | Fixes #1759. | Dominik Picheta | 2014-12-21 | 1 | -2/+6 |
| | | | | Caused by not skipping the \c\l with Chunked encoding after the body is parsed. | ||||
* | removed unused variable from httpclient | Will Szumski | 2014-12-17 | 1 | -1/+0 |
| | |||||
* | replace deprecated parseUrl with parseUri in httpclient | Will Szumski | 2014-12-17 | 1 | -10/+10 |
| | |||||
* | switched httpclient to use net module instead of sockets | Will Szumski | 2014-12-17 | 1 | -7/+6 |
| | |||||
* | Fix some deprecation warnings caused by renames | def | 2014-11-13 | 1 | -49/+49 |
| | |||||
* | Made 'headers' public | Erik O'Leary | 2014-11-06 | 1 | -44/+44 |
| | |||||
* | Lots of documentation improvements for asyncdispatch. | Dominik Picheta | 2014-09-12 | 1 | -0/+13 |
| | | | | Ref #1487. | ||||
* | Fixes httpclient SSL issue. Implements unbuffered SSL recv. Ref #1487. | Dominik Picheta | 2014-09-06 | 1 | -1/+2 |
| |