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_headers.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_headers.erl')
-rw-r--r-- | src/mochiweb/mochiweb_headers.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mochiweb/mochiweb_headers.erl b/src/mochiweb/mochiweb_headers.erl index b29ff311..6fcec7c3 100644 --- a/src/mochiweb/mochiweb_headers.erl +++ b/src/mochiweb/mochiweb_headers.erl @@ -168,7 +168,7 @@ merge(_, V1, V0) -> V0 ++ ", " ++ V1. normalize(K) when is_list(K) -> - mochiweb_util:to_lower(K); + string:to_lower(K); normalize(K) when is_atom(K) -> normalize(atom_to_list(K)); normalize(K) when is_binary(K) -> |