couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1128903 - /couchdb/trunk/src/couchdb/couch_httpd.erl
Date Sun, 29 May 2011 16:54:14 GMT
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)}.
 



Mime
View raw message