lpereira / lwan

Experimental, scalable, high performance HTTP server
https://lwan.ws
GNU General Public License v2.0
5.92k stars 549 forks source link

Create session and cookie with LUA #110

Closed bbg closed 9 years ago

bbg commented 9 years ago

We are developing a LUA application with LWAN. In our development procedure we wanted to form SESSION and COOKIE on LWAN but unfortunately we realized that we are unable to do so. We propose you to enable the SESSION and COOKIE related development on LWAN.

lpereira commented 9 years ago

Support has been added on ea4cade. Please test and report if it works for you. (Currently only reading cookies is possible, though.)

lpereira commented 9 years ago

As of a4dd4ccd5, it's possible to set the headers from Lua. Not the best API to set cookies yet, but it's now possible.