Commit graph

17 commits

Author SHA1 Message Date
Steven Barth
66ec29f243 * libs/core: Moved ltn12 inside LuCI to avoid package conflicts with luasocket 2008-06-29 16:15:26 +00:00
Jo-Philipp Wich
b84259d374 * libs/http: added support for directory listings 2008-06-28 23:18:10 +00:00
Jo-Philipp Wich
cd4353e65f * libs/http: add Date header for 304 responses 2008-06-28 16:17:45 +00:00
Jo-Philipp Wich
e08b97565f * libs/http: fix header handling in conditionals.lua
* libs/httpd:	add support for RFC2616 / 14.24 - 14.28 in file handler, add Date and Expires headers to luci handler
2008-06-28 16:12:37 +00:00
Jo-Philipp Wich
7f56bf9475 * libs/http: prepare support for RFC2616 / 14.24 - 14.28 2008-06-28 02:05:48 +00:00
Jo-Philipp Wich
3eefe8a8e2 * libs/http: removed caching in http.protocol.date 2008-06-27 20:48:11 +00:00
Jo-Philipp Wich
96e11423b3 * libs/http: implement caching in http.protocol.date 2008-06-26 20:25:02 +00:00
Jo-Philipp Wich
6ce3d85076 * libs/http: removed debugging prints from http.protocol.date 2008-06-26 18:42:28 +00:00
Jo-Philipp Wich
5c5bbf9c50 * libs/http: require luci.util in http.protocol.mime 2008-06-26 18:32:29 +00:00
Jo-Philipp Wich
98b954a48f * libs/http: added http mime helper lib 2008-06-26 18:31:25 +00:00
Jo-Philipp Wich
85ec6b0a75 * libs/http: added http date helper lib 2008-06-26 18:08:48 +00:00
Steven Barth
7a4aa85dd6 * libs/httpd: Introduced keep-alive and pipelining support 2008-06-25 16:38:48 +00:00
Jo-Philipp Wich
a9a80a3be3 * luci/libs: fix eof handling for urldecode_message_body() in protocol.lua 2008-06-23 19:16:00 +00:00
Steven Barth
4f630d647c * Introducing LuCI HTTPD as testing environment
* Several coroutine-safety fixes
2008-06-23 18:17:02 +00:00
Jo-Philipp Wich
a038da390d * luci/libs: add support for chunked transfer decoding in http.protocol 2008-06-22 12:07:37 +00:00
Steven Barth
65870edf9f * libs/core: Added garbage collector to luci.util.threadlocal to avoid memory leaks
* libs/http: Use env-Variables instead of headers for parse_message_body and subsequent functions
* libs/http: Added missing urldecode call for parsing urlencoded params
* libs/web: Ported luci.http to use ltn12 sources and sinks instead of sockets or file pointers
* libs/sgi-cgi, libs/sgi-webuci, libs/sgi-wsapi: Updated to work with new luci.http.Request ABI
2008-06-20 19:57:57 +00:00
Steven Barth
e2e9e119d6 * Moved luci.http.protocol to libs/http
* Added ltn12 to libs/core
* Fixed libs/httpd Makefile
2008-06-20 16:47:25 +00:00