diff options
author | Christopher Lenz <cmlenz@apache.org> | 2009-08-21 11:54:24 +0000 |
---|---|---|
committer | Christopher Lenz <cmlenz@apache.org> | 2009-08-21 11:54:24 +0000 |
commit | 678512dcabec2a54071ed63ed786c4c0c3f1d647 (patch) | |
tree | 78ddd07d4f504e11b10b91ad18ca454ce5e5d034 /src/mochiweb/mochiweb_multipart.erl | |
parent | c41f80bcce84f06f9d46eecb7d012e1f0cd12dcf (diff) |
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
Diffstat (limited to 'src/mochiweb/mochiweb_multipart.erl')
-rw-r--r-- | src/mochiweb/mochiweb_multipart.erl | 2 |
1 files changed, 1 insertions, 1 deletions
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 -> |