summary refs log tree commit diff stats
path: root/lib/pure/httpclient.nim
Commit message (Collapse)AuthorAgeFilesLines
* Fix empty body on HTTP/1.0 connectionsHendrik Richter2016-06-161-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 T2016-06-051-1/+1
| | | Fixes #4273.
* Fixes #3847.Dominik Picheta2016-06-021-0/+7
|
* httpclient now uses httpcore.HttpHeadersDominik Picheta2016-06-021-8/+8
|
* moved random procs from math to its own module (breaking change)Andreas Rumpf2016-05-301-1/+2
|
* Stdlib: httpclient: `export strtabs` added.Konstantin Molchanov2016-05-281-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 Picheta2016-04-041-2/+2
|
* Remove debug `echo` introduced in #3896.Dominik Picheta2016-02-241-1/+0
|
* Fix redirection in httpclient (fixes #3895)def2016-02-231-7/+9
|
* Fixes incorrect Host header when using httpclient with proxy.Dominik Picheta2015-12-291-5/+5
|
* updated httpclient to use tables.getOrDefaultAraq2015-10-141-7/+7
|
* Rename rawsockets module to nativesocketsAdam Strzelecki2015-10-031-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 expectedDoran2015-09-041-2/+10
|
* Set correct Host in request headerjonathonf2015-08-011-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 multipartdef2015-07-101-2/+3
|
* Implement async `post` requestBruce Doan2015-07-021-0/+18
|
* Fixes #2884Dominik Picheta2015-06-081-2/+4
| | | | Haven't tested this patch but should work.
* Fixed 'milliseconds' spelling in code and docspdw2015-05-151-8/+8
|
* Don't run non-test code when defined(testing)Oleh Prypin2015-04-211-1/+1
|
* Use `^` instead of `-` in slicesdef2015-03-281-5/+5
|
* Fixes bugs introduced by ee62d56cadb. Closes #2227.Dominik Picheta2015-03-051-2/+8
|
* Fix typosFederico Ceratto2015-02-151-2/+2
|
* Added documentation for the new http request procedures.Varriount2015-01-231-1/+13
|
* Fixes #1962Varriount2015-01-221-24/+33
|
* Fix body in httpclientdef2015-01-131-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()def2015-01-051-5/+5
|
* A few more fixes to httpclient multipartdef2015-01-051-4/+9
|
* post should work when extra headers don't have trailing newlinedef2015-01-051-2/+11
|
* Check that p is not nil in formatdef2015-01-051-1/+1
|
* Add multipart parameter to httpclient's post and postContentdef2015-01-051-35/+128
|
* Remove debug messagesdef2015-01-031-2/+0
|
* Apply #1824 to fix #1823def2015-01-031-2/+4
|
* Minor cleanupdef2015-01-031-3/+2
|
* Fix httpclient to properly encode queries (path?queries)def2015-01-031-2/+7
|
* Fixes #1759.Dominik Picheta2014-12-211-2/+6
| | | | Caused by not skipping the \c\l with Chunked encoding after the body is parsed.
* removed unused variable from httpclientWill Szumski2014-12-171-1/+0
|
* replace deprecated parseUrl with parseUri in httpclientWill Szumski2014-12-171-10/+10
|
* switched httpclient to use net module instead of socketsWill Szumski2014-12-171-7/+6
|
* Fix some deprecation warnings caused by renamesdef2014-11-131-49/+49
|
* Made 'headers' publicErik O'Leary2014-11-061-44/+44
|
* Lots of documentation improvements for asyncdispatch.Dominik Picheta2014-09-121-0/+13
| | | | Ref #1487.
* Fixes httpclient SSL issue. Implements unbuffered SSL recv. Ref #1487.Dominik Picheta2014-09-061-1/+2
|
* Async SSL support.Dominik Picheta2014-08-311-20/+37
|
* Case sensitivity fixes for httpclient and sockets module.Dominik Picheta2014-08-311-12/+12
|
* Merge branch 'devel' into bigbreakDominik Picheta2014-08-301-2/+1
|\ | | | | | | | | Conflicts: lib/pure/ftpclient.nim
| * Add asyncftpclient module.Dominik Picheta2014-08-291-2/+1
| |
* | Nimrod renamed to NimAraq2014-08-281-3/+3
| |
* | big renameAraq2014-08-271-21/+29
|/
* Void futures are no longer discardable.Dominik Picheta2014-07-131-1/+1
|
* Fixes docgen.Dominik Picheta2014-04-151-1/+1
|