summaryrefslogtreecommitdiff
path: root/src/mochiweb
diff options
context:
space:
mode:
authorRobert Newson <rnewson@apache.org>2010-08-25 08:17:19 +0000
committerRobert Newson <rnewson@apache.org>2010-08-25 08:17:19 +0000
commit6f77afd486bdf07e800d47eddc7cf6249e5386e8 (patch)
tree162edcc228768425958beb9cf503bddcee81ea11 /src/mochiweb
parent808d2b79f3b1075f4480e2d628d737f4ac82aba2 (diff)
COUCHDB-161 - range support. Adhere closer to the spec. correct range parsing error in mochiweb.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@988866 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/mochiweb')
-rw-r--r--src/mochiweb/mochiweb_http.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mochiweb/mochiweb_http.erl b/src/mochiweb/mochiweb_http.erl
index 24140994..ab0af7e8 100644
--- a/src/mochiweb/mochiweb_http.erl
+++ b/src/mochiweb/mochiweb_http.erl
@@ -162,8 +162,6 @@ after_response(Body, Req) ->
?MODULE:loop(Socket, Body)
end.
-parse_range_request("bytes=0-") ->
- undefined;
parse_range_request(RawRange) when is_list(RawRange) ->
try
"bytes=" ++ RangeString = RawRange,