You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2006/12/06 08:17:15 UTC
svn commit: r482938 -
/incubator/tuscany/cpp/sca/runtime/extensions/rest/service/httpd/src/tuscany/sca/rest/ModREST.cpp
Author: jsdelfino
Date: Tue Dec 5 23:17:14 2006
New Revision: 482938
URL: http://svn.apache.org/viewvc?view=rev&rev=482938
Log:
Minor cleanup of the change under r482932, we were calculating the HTTP Etag twice, removed the duplicate code.
Modified:
incubator/tuscany/cpp/sca/runtime/extensions/rest/service/httpd/src/tuscany/sca/rest/ModREST.cpp
Modified: incubator/tuscany/cpp/sca/runtime/extensions/rest/service/httpd/src/tuscany/sca/rest/ModREST.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/runtime/extensions/rest/service/httpd/src/tuscany/sca/rest/ModREST.cpp?view=diff&rev=482938&r1=482937&r2=482938
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/extensions/rest/service/httpd/src/tuscany/sca/rest/ModREST.cpp (original)
+++ incubator/tuscany/cpp/sca/runtime/extensions/rest/service/httpd/src/tuscany/sca/rest/ModREST.cpp Tue Dec 5 23:17:14 2006
@@ -561,7 +561,6 @@
// Send an Etag header to allow caching and
// conditional gets
- char* etag = ap_md5(request->pool, (const unsigned char*)str);
apr_table_setn(request->headers_out, "ETag", etag);
ap_rputs(str, request);
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org