Skip to content

Commit

Permalink
http://code.google.com/p/mochiweb/issues/detail?id=10
Browse files Browse the repository at this point in the history
  • Loading branch information
etrepum committed May 26, 2008
1 parent 326a6b1 commit 4108a2e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/mochiweb.erl
Expand Up @@ -73,6 +73,14 @@ new_request({Socket, {Method, {abs_path, Uri}, Version}, Headers}) ->
% this case probably doesn't "exist".
new_request({Socket, {Method, {absoluteURI, _Protocol, _Host, _Port, Uri},
Version}, Headers}) ->
mochiweb_request:new(Socket,
Method,
Uri,
Version,
mochiweb_headers:make(Headers));
%% Request-URI is "*"
%% From http://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html#sec5.1.2
new_request({Socket, {Method, '*'=Uri, Version}, Headers}) ->
mochiweb_request:new(Socket,
Method,
Uri,
Expand Down

0 comments on commit 4108a2e

Please sign in to comment.