From 678512dcabec2a54071ed63ed786c4c0c3f1d647 Mon Sep 17 00:00:00 2001 From: Christopher Lenz Date: Fri, 21 Aug 2009 11:54:24 +0000 Subject: Back out Mochiweb patch from r659636 to support older Erlang versions, as those are no longer supported by CouchDB anyway. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@806513 13f79535-47bb-0310-9956-ffa450edef68 --- src/mochiweb/mochiweb_multipart.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mochiweb/mochiweb_multipart.erl') diff --git a/src/mochiweb/mochiweb_multipart.erl b/src/mochiweb/mochiweb_multipart.erl index 7d42be52..9eb4badd 100644 --- a/src/mochiweb/mochiweb_multipart.erl +++ b/src/mochiweb/mochiweb_multipart.erl @@ -103,7 +103,7 @@ parse_headers(Binary, Acc) -> split_header(Line) -> {Name, [$: | Value]} = lists:splitwith(fun (C) -> C =/= $: end, binary_to_list(Line)), - {mochiweb_util:to_lower(string:strip(Name)), + {string:to_lower(string:strip(Name)), mochiweb_util:parse_header(Value)}. read_chunk(Req, Length) when Length > 0 -> -- cgit v1.2.3