r111517 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111516‎ | r111517 | r111518 >
Date:00:29, 15 February 2012
Author:aaron
Status:ok
Tags:
Comment:
Send base 16 md5 ETag for Swift to check against
Modified paths:
  • /trunk/tools/upload-scripts/thumb-handler.php (modified) (history)

Diff [purge]

Index: trunk/tools/upload-scripts/thumb-handler.php
@@ -200,6 +200,8 @@
201201 header( 'Cache-Control: no-cache' );
202202 }
203203
 204+header( 'ETag: ' . md5( $text ) ); // for Swift integrity checks
 205+
204206 if ( !$contentType ) {
205207 header( 'Content-Type:' );
206208 } else {

Status & tagging log