Commit Graph

40 Commits (41d45e0c64b94de227f048d5f376699dd6041735)

Author SHA1 Message Date
Matthew Wild 2bc0606453 Update copyright headers for 2010 16 years ago
Matthew Wild 03384d466b net.httpserver: Make request.conn be the server.lua conn instead of the underlying socket (more useful this way) 16 years ago
Matthew Wild 46e81c8baf net.httpserver: Trailing whitespace 16 years ago
Matthew Wild 08eb296248 net.httpserver: More robust handling of headers split across multiple packets 16 years ago
Matthew Wild 7d1211bac1 net.httpserver: Make it possible to return responses with no body 16 years ago
Matthew Wild ab114b1b5f net.httpserver: Close connection on invalid HTTP status line 16 years ago
Waqas Hussain c700f8867c net.httpserver: Optimized response serialization. 16 years ago
Matthew Wild f975e9028d net.httpserver: Fix usage of old connection API syntax 16 years ago
Waqas Hussain 0c6835cf3a net.httpserver: Removed mime handling (now in mod_httpserver). Unknown dynamic content is now always served as text/html. 16 years ago
Waqas Hussain c7fa0dd97e net.httpserver: Removed mime handling (now in mod_httpserver). Unknown dynamic content is now always served as text/html. 16 years ago
Paul Aurich a5dcc1d8c6 Disable SSLv2 by default, it's known to be insecure. 16 years ago
Paul Aurich d92cd1e697 Disable SSLv2 by default, it's known to be insecure. 16 years ago
Matthew Wild 7fa0954aaf net.httpserver: Fix to work with new server API 16 years ago
Matthew Wild b74d2847c0 net.httpserver: Quick fix to set the correct Content-Type on simple (string) responses, for a few known types 16 years ago
Matthew Wild abb55058b0 net.httpserver: Quick fix to set the correct Content-Type on simple (string) responses, for a few known types 16 years ago
Matthew Wild 54d5d4f69d net.httpserver, net.http: Update for new net.server API (untested) 16 years ago
Matthew Wild c103c2bb6b net.httpserver: More robust handling of headers split across multiple packets 16 years ago
Matthew Wild e79181eab3 net.httpserver: Make it possible to return responses with no body 16 years ago
Matthew Wild 4c3707ec7b net.httpserver: Close connection on invalid HTTP status line 16 years ago
Matthew Wild 18ecc84111 net.httpserver: Pass correct connection object to disconnect listener, which fixes a small leak 16 years ago
Matthew Wild d4b704023a net.httpserver: Pass on interface option from new_from_config() (thanks Chris) 16 years ago
Matthew Wild 6265a85de2 net.httpserver: Allow modules registering to provide more than just a default path when using httpserver.new_from_config 16 years ago
Matthew Wild 322ae8a3c5 net.httpserver: Allow overriding default request handler 17 years ago
Matthew Wild fcfb1213d2 net.httpserver: Don't log response bodies! 17 years ago
Matthew Wild 954ab72536 net.httpserver: Allow response.body to be a non-string 17 years ago
Matthew Wild e37a04496d net.httpserver: Reduce log level of 'request left open' message 17 years ago
Matthew Wild cef5dd4ef6 net.httpserver: Allow specification of the default base URL when using new_from_config() 17 years ago
Matthew Wild 9b42931a18 net.httpserver: Add helper function to set up HTTP server according to given config options 17 years ago
Matthew Wild e45610ce6e Add copyright header to those files missing one 17 years ago
Matthew Wild 0e37b231f2 net.httpserver: Don't upset logger when response is nil 17 years ago
Matthew Wild 964ee27096 net.httpserver: Fix for urlencoding to always produce 2 digits 17 years ago
Matthew Wild ef5e994b1f net.http, net.httpserver: Remove urlcodes table... it really isn't needed (thanks Jan Harkes) 17 years ago
Matthew Wild d6b19a1b1b net.httpserver: Fix traceback when sending response to a destroyed request 17 years ago
Matthew Wild 37db6110c3 net.httpserver: Don't log the response body (can be binary data...) 17 years ago
Matthew Wild b46533a889 net.httpserver: Fix potential nil access 17 years ago
Matthew Wild ca374d38e7 net.httpserver: Fix potential nil access 17 years ago
Matthew Wild 08a1dbd27f net.httpserver: Don't log that a request has been left open if it is destroyed 17 years ago
Matthew Wild e50d22fcc4 core.httpserver: Rename request.responseheaders to the more logical request.headers 17 years ago
Matthew Wild 6f71936ac3 Adding initial net.httpserver (lots of work to do on it) 17 years ago