Jo-Philipp Wich
4081526ba7
luci-0.8: merge complete trunk
2008-12-23 21:39:38 +00:00
Steven Barth
c6affb6a7e
Interet Suxplorer sends invalid HTTP-headers, ignore them
2008-11-06 17:35:17 +00:00
Jo-Philipp Wich
bb63ae4647
* luci-0.8: backport library fixes
2008-10-29 19:41:33 +00:00
Steven Barth
7f48a879a2
libs/http: Updated inline documentation for mimedecode_message_body
2008-09-19 13:56:50 +00:00
Steven Barth
4770351d7d
Push full metadata to the file callback (parsed and unparsed) - not only the unparsed mime headers
2008-09-19 12:20:43 +00:00
Steven Barth
f62839fde9
Fixed HTTP stack to parse urlencoded data from Internet Explorer correctly
...
Internet Explorer appends a whitespace character after the last parameter which will now be stripped
2008-09-05 11:36:53 +00:00
Steven Barth
d463d0b835
Renamed reworked UCI API to uci2 to allow a peaceful coexistence with the old one
...
Minor bugfixes
2008-08-27 08:53:40 +00:00
Steven Barth
830ca24abb
libs/http: Fixed default sink for unknown data
2008-08-22 20:33:48 +00:00
Jo-Philipp Wich
ab9891e0af
* luci/libs/http: added inline documentation to luci.http.protocol & friends, fixed urlencode_params()
2008-07-22 01:15:39 +00:00
Jo-Philipp Wich
040efb954f
* luci/libs/http: use aliased ltn12. instead of luci.ltn12.
2008-07-19 16:53:34 +00:00
Jo-Philipp Wich
447df436fc
* luci/libs/http: fix a few corner cases which can lead to bugs in mime decoding, allow the message body to exceed Content-Length by two bytes (to ignore a possible trailing \r\n)
2008-07-19 16:27:11 +00:00
Jo-Philipp Wich
8895d236ea
* luci/libs/http: fix "attempt to compare string with number" in http.protocol
2008-07-18 17:18:09 +00:00
Jo-Philipp Wich
40988c4b36
* luci/libs/http: replace url decoder in http.protocol
2008-07-18 15:30:52 +00:00
Jo-Philipp Wich
8c46333ed1
* luci/libs/http: added more sanity checks to mime decoder
2008-07-18 14:19:56 +00:00
Jo-Philipp Wich
daa7d4e8a4
* luci/libs/http: fix wrong varname in http.protocol
2008-07-18 12:02:18 +00:00
Jo-Philipp Wich
fbd663c2eb
* luci/libs/http: replaced mime decoder in http.protocol
2008-07-18 11:53:53 +00:00
Steven Barth
8d1aff78b1
modules/admin-mini: Added Wifi configuration
...
several smaller bugfixes and enhancements
2008-07-16 18:54:10 +00:00
Jo-Philipp Wich
ea69b8dccc
* libs/http: fix blocksize-related mime decoding problems in protocol.lua
2008-07-16 15:32:37 +00:00
Jo-Philipp Wich
89764da368
* luci/libs/http: fix two typos in http.protocol
2008-07-14 17:21:45 +00:00
Jo-Philipp Wich
079f606bf9
* luci/libs/http: use a more flexible aproach when storing multi-value fields
2008-07-14 17:02:22 +00:00
Jo-Philipp Wich
1245a9eaa9
* luci/libs/http: remove left over field initialisation
2008-07-14 16:48:51 +00:00
Jo-Philipp Wich
6ebbffc727
* luci/libs/http: implement multi-value support in http.protocol
2008-07-14 16:45:37 +00:00
Jo-Philipp Wich
8fcbdb39fe
* luci/libs: make treatment of "+" conditional in http.protocol ("+" should not be decoded by urldecode)
...
* luci/https: fix breakage introduced by "+" decoding
2008-07-05 20:12:24 +00:00
Steven Barth
8579f2d8c7
libs/http: Added handling of "+" in luci.http.protocl.urldecode
2008-07-05 14:23:50 +00:00
Jo-Philipp Wich
653f5e2361
* luci: fixup svn properties
2008-07-04 15:12:11 +00:00
Jo-Philipp Wich
d7697624c4
* libs/http: removed protocol.filter, added mimetypes to protocol.mime
...
* libs/httpd: handle missing permissions correctly, perform urldecode on request uri and urlencode on generated links, added css
2008-06-30 11:52:23 +00:00
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