jester icon indicating copy to clipboard operation
jester copied to clipboard

A sinatra-like web framework for Nim.

Results 66 jester issues
Sort by recently updated
recently updated
newest added

On a 512MB RAM VPS. Files are being served from the static directory. ``` root@avocado:~/ubuntu# ../simplefilemanager INFO Jester is making jokes at http://0.0.0.0:5000 Starting 1 threads DEBUG GET / DEBUG...

A popular way to serve static files is to calculate file hash and set never expiring cache. It could be done same as in Ruby in Rails. 1 Provide helper...

Having a file like `./public/yolo.txt` and given a simple program... ```nim import jester, htmlgen routes: get "/": resp h1("Hello") get "/@name": resp "Your name is " & @"name" ``` ......

I'm porting my own site/app to Jester and after getting a substantial amount done, i noticed it was using ~800MB of ram. Investigating, i see that every request+response (page load)...

Test Code in: https://github.com/xflywind/test_jester Got Error: ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH Because jester sends multiple content length. ```nim # in asynchttpserver.nim # https://github.com/nim-lang/Nim/blob/b6924383df63c91f0ad6baf63d0b1aa84f9329b7/lib/pure/asynchttpserver.nim#L102 proc respond*(req: Request, code: HttpCode, content: string, headers: HttpHeaders = nil):...

Fixes #211 I don't know if this is the way you'd fix it or not. It pairs the normal matcher and error handler into a tuple which is then passed...

other popular packages link to docs (generated during push to master along with CI integration). this should be doable with `nim doc --project jester.nim` ## examples * https://github.com/nitely/nim-regex linking to...

Serving a static file `./public/yolo.txt` that contains: ``` bla bla őúőúűáé ``` will result in Safari showing: ``` bla bla őúőúűáé ``` The file itself is **UTF-8** encoded. --- The...

Request for feature: middlewares, much like other frameworks do them. The basic principle is: You have a chain of handler instances, each responding to a method that takes, at the...

There is very little information about how jester works, in particular how route patterns work. in particular: - is the first route pattern that matches is blocking all subsequent patterns?...