r61439 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r61438‎ | r61439 | r61440 >
Date:22:30, 23 January 2010
Author:nikerabbit
Status:ok
Tags:
Comment:
Log HTTP requests similar to SQL queries and other stuff
Modified paths:
  • /trunk/phase3/includes/HttpFunctions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/HttpFunctions.php
@@ -18,6 +18,7 @@
1919 * @returns mixed (bool)false on failure or a string on success
2020 */
2121 public static function request( $method, $url, $options = array() ) {
 22+ wfDebug( "HTTP: $method: $url" );
2223 $options['method'] = strtoupper( $method );
2324 if ( !isset( $options['timeout'] ) ) {
2425 $options['timeout'] = 'default';

Status & tagging log