Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "add missing import to asynchttpserver's example" (#18164) | flywind | 2021-06-03 | 1 | -1/+1 |
| | | | This reverts commit 7ef364a402d3d827f10c893280f8dc7b9ef056f5. | ||||
* | add missing import to asynchttpserver's example | narimiran | 2021-06-03 | 1 | -1/+1 |
| | |||||
* | further progress on rst roles & directives (fix #17646) (#17659) | Andrey Makarov | 2021-04-08 | 1 | -1/+1 |
| | | | | | | | * further progress on rst roles & dir-s (fix #17646) * fix documents according to the messages * fix bug 17 from #17340 | ||||
* | Removes asynchttpserver.getSocket. (#17587) | Dominik Picheta | 2021-03-31 | 1 | -14/+0 |
| | |||||
* | add getPort to resolve Port(0) (#17559) | Timothee Cour | 2021-03-30 | 1 | -15/+27 |
| | | | | | | | | | * add getPort to resolve Port(0) * fixup * use getPort in examples + tests * address comments: do not re-export Port | ||||
* | use `-r:off` for runnableExamples that should compile but not run (#17203) | Timothee Cour | 2021-03-01 | 1 | -23/+21 |
| | | | | | * use -r:off for runnableExamples that should compile but not run * use -r:off in other RT disabled tests | ||||
* | Change stdlib imports to use std prefix in most examples (#17202) | Danil Yarantsev | 2021-02-28 | 1 | -5/+5 |
| | |||||
* | use single backtick (#17166) | flywind | 2021-02-23 | 1 | -4/+4 |
| | |||||
* | Transfer-Encoding:chunked tests (#16678) | vabresto | 2021-01-14 | 1 | -3/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add tests and fix extra newlines in body * Fixes per comments * Slight rephrase per comments * Improvements per comments * Add getSocket to reduce test flakiness per comment * Remove unused lines from header * Add doc comment to getSocket per comment * Apply witchcraft to replace `discard Future` * Return HTTP 400 on bad encoding in request * Fix runnable example for getSocket * Fix import to fix runnable examples * Even more imports for the example * Better self documenting runnable example * Add missing import * Import from module with correct signature * Resolve port type mismatch | ||||
* | Add support for Transfer-Encoding: chunked (#16636) | vabresto | 2021-01-10 | 1 | -0/+44 |
| | | | | | | | | | * Add support for Transfer-Encoding: chunked * Minor whitespace fixes * Use recv instead of recvLineInto * Undo changes to httpcore, inline changes | ||||
* | Fixes the asynchttpserver example some more (#16599) | Dominik Picheta | 2021-01-07 | 1 | -8/+7 |
| | | | | | I dislike this example a lot (busy looping for FDs to be closed is a very poor waste of resources) but at least with these changes it's a little bit better. | ||||
* | remove duplication in asynchttpserver examples (#16586) | Timothee Cour | 2021-01-05 | 1 | -48/+28 |
| | | | | | | | * remove duplication in asynchttpserver examples * fixup * add comment showing how to run snippet locally | ||||
* | fix #16506 by changing the example (#16580) | Miran | 2021-01-04 | 1 | -2/+2 |
| | | | Co-authored-by: Andreas Rumpf <rumpf_a@web.de> | ||||
* | asynchttpserver cleanups [backport:1.0] (#15966) | Andreas Rumpf | 2020-11-15 | 1 | -11/+9 |
| | | | | * asynchttpserver cleanups [backport:1.0] | ||||
* | fixes the doc rendering | Araq | 2020-11-13 | 1 | -38/+35 |
| | |||||
* | ported to FreeRTOS | Araq | 2020-11-13 | 1 | -1/+10 |
| | |||||
* | better documentation | Araq | 2020-11-13 | 1 | -4/+11 |
| | |||||
* | attempt to make asynchttpserver better; fixes #15925; [backport:1.0] | Araq | 2020-11-13 | 1 | -40/+85 |
| | |||||
* | more clear (#15812) | flywind | 2020-11-02 | 1 | -2/+2 |
| | |||||
* | Fix asynchttpserver newline breaking content-length (#14565) [backport] | Zed | 2020-06-06 | 1 | -2/+3 |
| | |||||
* | Add isNil check to custom Content-Length. (#13867) [backport:1.2] | supakeen | 2020-04-05 | 1 | -2/+3 |
| | | | Related to #13866. | ||||
* | fix asynchttpserver content-length header (#13846) | flywind | 2020-04-03 | 1 | -3/+6 |
| | |||||
* | fix #13218: avoid some irrelevant warnings for nim doc,rst2html,--app:lib, + ↵ | Timothee Cour | 2020-03-13 | 1 | -1/+1 |
| | | | | | | | | other fixes (#13550) * fix #13218: avoid some irrelevant warnings for nim doc,rst2html * suppress warnRedefinitionOfLabel for nim doc * lots of fixes for UnusedImport warnings | ||||
* | Revert broken asynchttpserver FutureStream additions. | Dominik Picheta | 2020-03-06 | 1 | -145/+31 |
| | | | | | | | | | | | As discussed in #13394, these changes cannot work. Reverted via ``` git revert --no-commit 5bf571f061d53d35aab727f420afd9f415987723 git revert --no-commit abd660c407d00d0c4f2129ff11bfc69badda8ece git revert --no-commit 955465e5f42b1353f69f3bd884908a7ef91ce13b git commit ``` | ||||
* | Fix to asynchttpserver form data/body broken with #13147 (#13394) | Henrique Dias | 2020-02-14 | 1 | -43/+73 |
| | | | | | | * Fix to asynchttpserver form data/body broken with #13147 * New implementation that use a interator instance of future streams * asynchttpserver now can handle chunks of data. | ||||
* | Added a basic example how to handle a Post request. (#13339) | Henrique Dias | 2020-02-07 | 1 | -3/+55 |
| | | | | | | | | | | | | * Added a basic example how to handle a Post request. They were also made minor cosmetic changes. * Minor fixes suggested by Yardanico * Fixed a wrong value in chunkSize constant. * Re-added the request.body for compatibility! | ||||
* | Option to allow the request body to be processed outside the asynchttpserver ↵ | Henrique Dias | 2020-02-04 | 1 | -16/+48 |
| | | | | | | library. (#13147) Allow the request body to be processed outside the asynchttpserver library to break big files into chunks of data. This change does not break anything. | ||||
* | minor optimization for asynchttpserver.nim | Andreas Rumpf | 2019-10-04 | 1 | -19/+12 |
| | |||||
* | [backport] run nimpretty on async | narimiran | 2019-09-30 | 1 | -4/+5 |
| | |||||
* | Revert "improvements for httpcore (#12228)" | narimiran | 2019-09-23 | 1 | -2/+2 |
| | | | | This reverts commit b865c2a54b7d706b31b5eba29dfdbb16809aa400. | ||||
* | improvements for httpcore (#12228) | Andreas Rumpf | 2019-09-23 | 1 | -2/+2 |
| | | | | | * improvements for httpcore * further improvements, now stable API but needs extensions later on | ||||
* | last stdlib cleanups | Araq | 2019-09-21 | 1 | -1/+1 |
| | |||||
* | Fix header inconsistencies in documentation (#11071) | Zed | 2019-04-23 | 1 | -2/+1 |
| | |||||
* | documentation style tweaks (#10790) | Miran | 2019-03-08 | 1 | -4/+4 |
| | | | | | | | * exports are the least important field in the docs: they are put in the last place (at the bottom) * indent text after proc/type declaration for an easier navigation (noticeable difference between declarations and examples) * quickfix invalid style in `asynchttpserver` | ||||
* | Fix regression w/ keep-alive connections to AsyncHttpServer | LemonBoy | 2019-02-04 | 1 | -1/+4 |
| | | | | | | We should keep listening if the connection is marked as keep-alive. Fixes #10536 | ||||
* | Clean up some code using a tuple unpack expression | LemonBoy | 2019-02-04 | 1 | -4/+2 |
| | |||||
* | Fixes long-standing asynchttpserver regression. (#10102) | Dominik Picheta | 2018-12-27 | 1 | -21/+27 |
| | |||||
* | Change parseEnum to something faster for method parsing in asynchttpserver ↵ | hlaaf | 2018-06-08 | 1 | -2/+15 |
| | | | | | | | | | | (#7682) * Add faster method parsing to asynchttpserver * Make it readable * Align case statement | ||||
* | remove deprecated stuff from the stdlib; introduce better deprecation warnings | Araq | 2018-05-05 | 1 | -3/+0 |
| | |||||
* | Don't catch-all in asynchttpserver. It hides bugs. | Dominik Picheta | 2017-11-26 | 1 | -4/+1 |
| | |||||
* | further hardening of asynchttpserver | Andreas Rumpf | 2017-11-19 | 1 | -6/+5 |
| | |||||
* | Fixes #6386. (#6545) | Dominik Picheta | 2017-11-19 | 1 | -124/+144 |
| | |||||
* | Handle failed uri parsing in asynchttpserver (#6374) | superfunc | 2017-09-15 | 1 | -1/+6 |
| | |||||
* | Add more suitable error code and reason phrase for required Content-Length ↵ | Artem Labazin | 2017-07-26 | 1 | -2/+2 |
| | | | | request. | ||||
* | Update asynchttpserver.nim | wt | 2017-06-06 | 1 | -1/+1 |
| | |||||
* | Fix bad tail for status response | wt | 2017-06-05 | 1 | -1/+1 |
| | |||||
* | fixes #3847 (#5609) | Andreas Rumpf | 2017-03-27 | 1 | -7/+27 |
| | |||||
* | Merge pull request #5466 from yglukhov/asynchttpserver-bad-content-length | Dominik Picheta | 2017-03-01 | 1 | -1/+3 |
|\ | | | | | Dont assert on malformed requests | ||||
| * | Dont assert on malformed requests | Yuriy Glukhov | 2017-03-01 | 1 | -1/+3 |
| | | |||||
* | | Revert "Listen on ipv6" (#5461) | Yuriy Glukhov | 2017-03-01 | 1 | -2/+2 |
|/ |