Commit graph

29 commits

Author SHA1 Message Date
Florian Zeitz
1d833bb807 Remove all trailing whitespace 2013-08-09 17:48:21 +02:00
Marco Cirillo
622306813b mod_http: disable ssl peer verification by default. 2013-04-04 23:41:36 +00:00
Kim Alvefur
4a30cfbc90 mod_http: Import portmanager 2013-03-23 01:42:27 +01:00
Kim Alvefur
8e233c797e mod_http: Expand $host in http_paths 2013-02-18 13:12:14 +01:00
Kim Alvefur
329ee389c5 mod_http: Fix path length pattern 2012-12-09 12:20:55 +01:00
Matthew Wild
d7b707744d mod_http: Fix pattern and slightly improve efficiency and memory usage of wildcard HTTP handlers 2012-11-29 07:15:04 +05:00
Kim Alvefur
67144d911b mod_http: Make module:http_url() aware of http_host 2012-11-22 20:40:06 +01:00
Matthew Wild
7f962c6d08 mod_http: Rename variable for clarity 2012-11-22 17:38:53 +00:00
Matthew Wild
e4c43fa10a mod_http: Add 'http_host' option to change the HTTP virtual host that this host is accessible at (e.g. allows mapping a host to '127.0.0.1') 2012-11-15 13:24:10 -05:00
Waqas Hussain
d9d38ef125 mod_{admin_telnet,c2s,component,http,net_multiplex,s2s}: Use module:provides() instead of module:add_item(). 2012-09-12 22:22:31 +05:00
Kim Alvefur
df886d2043 mod_http: Rework how module:http_url() builds the url. 2012-08-21 21:10:54 +02:00
Kim Alvefur
76c09d2ad1 mod_http: Don't produce paths with double / if a module is set to serve / 2012-08-21 21:03:20 +02:00
Matthew Wild
9a9d82e049 mod_http: Fix traceback when no HTTP services succeed in binding 2012-05-26 19:49:43 +01:00
Kim Alvefur
1e99d3bcd0 mod_http: Fix normalize_path('/') to not return an empty string, fixes module:http_url() 2012-05-25 03:39:45 +02:00
Matthew Wild
72ff00a1cd mod_http: Add module:http_url([app_name,][default_path]) for a module to get a guess at its external URL 2012-05-18 04:24:33 +01:00
Matthew Wild
ce88b45b6f mod_http: Depend on mod_http_errors 2012-04-28 14:46:36 +01:00
Matthew Wild
e865b1b3fe net.http.server, mod_http: Support http_default_host config option to specify where to direct requests for unknown HTTP vhosts 2012-04-27 23:11:23 +01:00
Matthew Wild
af90690399 mod_http: Allow a route value to be static data rather than a handler function 2012-04-27 19:02:36 +01:00
Matthew Wild
c06a35c238 mod_http: Routes now require a method to be specified, but the path has become optional (defaults to the base path with no trailing '/' 2012-04-27 18:37:40 +01:00
Matthew Wild
d4e4489577 mod_http: Link to docs on routes in error message 2012-04-27 18:36:27 +01:00
Matthew Wild
fad0359e75 mod_http: Remove unused import of url.parse 2012-04-26 16:53:32 +01:00
Matthew Wild
6c6566bace mod_http: Switch to single option for specifying HTTP app bases, http_paths. Keys are app/module names, values are base paths. 2012-04-26 06:41:11 +01:00
Matthew Wild
355eb83a4a mod_http: Use module:hook/unhook_event_object() so that handlers get unregistered if mod_http is unloaded 2012-04-26 05:40:04 +01:00
Matthew Wild
904d33cce4 mod_http: Fix specifying method in app route keys 2012-04-24 16:02:30 +01:00
Matthew Wild
a3ceb27bae mod_http: Pass portion of path that matched wildcard to wildcard handlers, as a second parameter 2012-04-23 21:34:05 +01:00
Matthew Wild
f28df31a1b mod_http: Support for default_path in apps 2012-04-23 18:23:49 +01:00
Matthew Wild
c51dcd332f mod_http: Revamp module for new API and config 2012-04-23 14:16:59 +01:00
Waqas Hussain
4ce0cecfe4 mod_http: Include handlers of non-global modules. 2012-04-21 18:23:44 +05:00
Waqas Hussain
8d2bb74a6a mod_http: Provide HTTP service. 2012-04-21 17:38:48 +05:00