couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kocol...@apache.org
Subject [31/50] git commit: be nice to the poor http parsers
Date Wed, 26 Oct 2011 18:05:33 GMT
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/16552806
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/16552806
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/16552806

Branch: refs/heads/1319-large-headers-are-corrupted
Commit: 1655280635e38f05f5e2bbd1f945b4d00c84c57b
Parents: 017ebb3
Author: Randall Leeds <randall@apache.org>
Authored: Thu Sep 29 04:46:20 2011 +0000
Committer: Randall Leeds <randall@apache.org>
Committed: Thu Sep 29 04:46:20 2011 +0000

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


http://git-wip-us.apache.org/repos/asf/couchdb/blob/16552806/src/couchdb/couch_httpd.erl
----------------------------------------------------------------------
diff --git a/src/couchdb/couch_httpd.erl b/src/couchdb/couch_httpd.erl
index 0f7e850..16b9577 100644
--- a/src/couchdb/couch_httpd.erl
+++ b/src/couchdb/couch_httpd.erl
@@ -923,7 +923,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