Skip to content

lego12239/wapp

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

static

This adds the ability to serve static content using fcopy without reading the entire file into memory first. This might undermine some of the deliberate security of wapp, but some care was taken. Feedback regarding security welcome.

thread

Refactor file delivery to allow the file content to be deivered by a new thread. One for each file. This makes the service about 30% faster when displaying a page full of large jpegs.

routes

Boiler plate generator for unpacking route path values and wapp-params into local variables in a page handler.

From lego12239/wapp

This is a fork of original wapp from D. Richard Hipp with some changes:

  • support of PUT, PATCH, DELETE http methods;
  • fix cookies parsing(make parsing more rfc6265 compliant, but be more liberal to cookie value, allowing any chars except dquote in a quoted value and any char except semicolon in a nonquoted value);
  • throw error on bad cookie value set;
  • -server option accepts a listen address in plan9 format: tcp!ADDR!PORT or tcp!ADDR!0 or tcp!ADDR or ADDR. If PORT isn't specified or 0, then the first not used port is selected. If ADDR is 0.0.0.0, then listen on wildcard address;
  • fix request target parsing(make parsing more rfc3986 compliant);
  • fix request header name-value parsing(make parsing more rfc7230 compliant);

For documentation look https://wapp.tcl.tk/home/doc/trunk/README.md .

About

Wapp is a framework for writing web applications in TCL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages