Commits

Show all
Author Commit Message Labels Comments Date
benoitc
Following suggestions of @justinsheehy changing dispatching so now we handle host:port matching. so now we match {HostnameParts, Port} tupple in dispatch.conf. I you put HostnameParts only, {HostnameParts, 80} will be matched : {{["example", "com"], 80}, PathSchema, Resource, Options} is equivalent to {["example", "com"], PathSchema, Resource, Options} in the same time, if hostname isn't found {'*', "80"} will be matched. To be homogen with path spec, '*' could only be used on the beginning now. Since the catchall part could be interresting if we are on top of hostname (eg. *.example.com'), the term catchall with thecat…
Branches
vhost
benoitc
change the way to het Hostname, We try first to see if we are behind a proxy by default we test if X-Forwarded-Host is in the headers (default for apache and some others proxy), proxy host header could also be configured in x_forwared_host application environnement variable. If we aren't behind a proxy we get Host header. If undefined we return no_host_provided and we will match '*' .
Branches
vhost
benoitc
add better support for cname. Since we want a.b.example.com eventually match to [cname, "example", "com"] where cname = "a.b" .
Branches
vhost
benoitc
useless debug info more example in dispatch {["example", '*'], [], example_resource, []}. {[cname, "example", '*'], [path], example_resource, []}. {[cname, "example", '*'], [], example_resource, []}. {["test", "example", '*'], [], example_testresource, []}.
Branches
vhost
benoitc
add vhost support to webmachine. Works as discussed on ml : http://lists.therestfulway.com/pipermail/webmachine_lists.therestfulway.com/2009-September/000077.html so you can do [[cname, "example", ".com"], ["a"], some_resource, []}. [["www", "example", ".com"], ["a"], some_resource, []}. [['*', "example", ".com"], ["a"], some_resource, []}. ... all rules for path dispatching works.
Branches
vhost
jus...@basho.com
quip update
jus...@basho.com
allow empty chunks in body streams
Andy Gross
via Paul Miniero: more hot code upgrade bugfixes
jus...@basho.com
update vsn
Andy Gross
via Paul Miniero: more hot code upgrade bugfixes
justin
via Dave Smith: add modules to .app
justin
re-fix vsn number
Andy Gross
via Paul Mineiro: fix for webmachine hot code loading in logger modules
justin
Added tag webmachine-1.4 for changeset 616b08c30b4c
jus...@basho.com
update version
justin
Added tag webmachine-1.4 for changeset 14365a12cb14
Tags
webmachine-1.4
justin
merge
Andy Gross
Update mochiweb dependency to r104 of mochiweb trunk.
justin
Added tag webmachine-1.4 for changeset 23a5122e6343
justin
no 304 on IMS if lastmod undefined
justin
find dispatch.conf from code dir, not cwd (via steve vinoski and pablo platt)
jus...@basho.com
merge
Bryan Fink
make edoc run the preprocessor so it can handle wmtrace_resource's usage of macros
Seth Falcon
Add a unit test for choose_media_type
Seth Falcon
Improve handling of malformed Accept request header Respond with 406 Not Acceptable instead of 500 when the request contains a malformed Accept header such as "foo".
Seth Falcon
Replace use of regexp module with re This gets rid of the following compiler warning: the regexp module is deprecated (will be removed in R15A); use the re module instead
justin
fix edoc make target courtesy of Andy Gross
justin
add find_boundary/1 courtesy of Andy Gross
justin
honor resp body if set, even when rendering error
justin
Added tag webmachine-1.3 for changeset 90d2a36b38b4
  1. Prev
  2. Next