You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2011/05/29 18:54:14 UTC
svn commit: r1128903 - /couchdb/trunk/src/couchdb/couch_httpd.erl
Author: jan
Date: Sun May 29 16:54:14 2011
New Revision: 1128903
URL: http://svn.apache.org/viewvc?rev=1128903&view=rev
Log:
log static file requests like Futon resources
Modified:
couchdb/trunk/src/couchdb/couch_httpd.erl
Modified: couchdb/trunk/src/couchdb/couch_httpd.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_httpd.erl?rev=1128903&r1=1128902&r2=1128903&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_httpd.erl (original)
+++ couchdb/trunk/src/couchdb/couch_httpd.erl Sun May 29 16:54:14 2011
@@ -391,6 +391,7 @@ serve_file(Req, RelativePath, DocumentRo
serve_file(Req, RelativePath, DocumentRoot, []).
serve_file(#httpd{mochi_req=MochiReq}=Req, RelativePath, DocumentRoot, ExtraHeaders) ->
+ log_request(Req, 200),
{ok, MochiReq:serve_file(RelativePath, DocumentRoot,
server_header() ++ couch_httpd_auth:cookie_auth_header(Req, []) ++ ExtraHeaders)}.