From 59a89fd650f4c419c5b2a6ea50ad6b1610fa8a10 Mon Sep 17 00:00:00 2001 From: Christopher Lenz Date: Fri, 23 May 2008 19:27:52 +0000 Subject: Patch MochiWeb for compatibility with R11B. This patch has been rejected upstream, but it's simple enough to just apply here. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@659636 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 9eb4badd..7d42be52 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)), - {string:to_lower(string:strip(Name)), + {mochiweb_util:to_lower(string:strip(Name)), mochiweb_util:parse_header(Value)}. read_chunk(Req, Length) when Length > 0 -> -- cgit v1.2.3