[mirrorbrain-commits] r8179 - /trunk/tools/scanner.pl

From: <poeml_at_mirrorbrain.org>
Date: Tue, 19 Oct 2010 00:19:33 -0000
Author: poeml
Date: Tue Oct 19 02:19:32 2010
New Revision: 8179

URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=8179&view=rev
Log:
- mb scan:
  re-add r8176, after it had been accidentally reverted with r8178
  (the added "Accept: */* header")

Modified:
    trunk/tools/scanner.pl

Modified: trunk/tools/scanner.pl
URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/tools/scanner.pl?rev=8179&r1=8178&r2=8179&view=diff
==============================================================================
--- trunk/tools/scanner.pl (original)
+++ trunk/tools/scanner.pl Tue Oct 19 02:19:32 2010
_at_@ -881,6 +881,7 @@
 
   # Create a request
   my $req = HTTP::Request->new(GET => $url);
+  $req->header('Accept' => '*/*');
 
   # Pass request to the user agent and get a response back
   my $res = $ua->request($req);




_______________________________________________
mirrorbrain-commits mailing list
Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/

Note: To remove yourself from this list, send a mail with the content
 	unsubscribe
to the address mirrorbrain-commits-request_at_mirrorbrain.org
Received on Tue Oct 19 2010 - 00:19:36 GMT

This archive was generated by hypermail 2.3.0 : Mon Feb 20 2012 - 23:47:04 GMT