You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2014/02/12 07:22:03 UTC

[31/50] [abbrv] mochiweb commit: updated refs/heads/import-master to 3a54dbf

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


Project: http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/commit/8f8c66c1
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/tree/8f8c66c1
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/diff/8f8c66c1

Branch: refs/heads/import-master
Commit: 8f8c66c184fe4b4ca53517a9b0a7607a04df7150
Parents: 4de5cbd
Author: Robert Newson <rn...@apache.org>
Authored: Wed Aug 25 08:17:19 2010 +0000
Committer: Robert Newson <rn...@apache.org>
Committed: Wed Aug 25 08:17:19 2010 +0000

----------------------------------------------------------------------
 mochiweb_http.erl | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/blob/8f8c66c1/mochiweb_http.erl
----------------------------------------------------------------------
diff --git a/mochiweb_http.erl b/mochiweb_http.erl
index 2414099..ab0af7e 100644
--- a/mochiweb_http.erl
+++ b/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,