couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rand...@apache.org
Subject git commit: be nice to the poor http parsers
Date Fri, 06 Jan 2012 22:33:29 GMT
Updated Branches:
  refs/heads/1.2.x 0f5e1f4d0 -> 351fe793a


be nice to the poor http parsers

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1177162 13f79535-47bb-0310-9956-ffa450edef68


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

Branch: refs/heads/1.2.x
Commit: 351fe793a9c99c62f1b62ad71425dac4971d3bd8
Parents: 0f5e1f4
Author: Randall Leeds <randall@apache.org>
Authored: Thu Sep 29 04:46:20 2011 +0000
Committer: Randall Leeds <randall@apache.org>
Committed: Fri Jan 6 14:32:39 2012 -0800

----------------------------------------------------------------------
 src/couchdb/couch_httpd.erl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/351fe793/src/couchdb/couch_httpd.erl
----------------------------------------------------------------------
diff --git a/src/couchdb/couch_httpd.erl b/src/couchdb/couch_httpd.erl
index 2d4c38d..192cb66 100644
--- a/src/couchdb/couch_httpd.erl
+++ b/src/couchdb/couch_httpd.erl
@@ -915,7 +915,7 @@ negotiate_content_type1(#httpd{mochi_req=MochiReq}) ->
     end,
     case lists:member("application/json", AcceptedTypes) of
         true  -> "application/json";
-        false -> "text/plain;charset=utf-8"
+        false -> "text/plain; charset=utf-8"
     end.
 
 server_header() ->


Mime
View raw message