A little more cleanup on the fallback (non-cURL) HttpFunctions fetch.
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 17 Jul 2007 15:13:57 +0000 (15:13 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 17 Jul 2007 15:13:57 +0000 (15:13 +0000)
commite3dfb56b5220b206f0b9d98cfdd249c6d4d8c5cf
treee5f6a23ce3e0f90a1e770a4f50606ede0ffe9e66
parent06e677c9c8feb41874675a8e5cd4ccb0fa146b62
A little more cleanup on the fallback (non-cURL) HttpFunctions fetch.
Include a User-Agent header equivalent to the cURL one; this also is needed
when fetching export pages from Wikipedia, as we currently block the default
PHP user-agent string...
includes/HttpFunctions.php