summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/fetch2/wget.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py
index 5235ae4d9e..f7d1de26b7 100644
--- a/bitbake/lib/bb/fetch2/wget.py
+++ b/bitbake/lib/bb/fetch2/wget.py
@@ -300,6 +300,7 @@ class Wget(FetchMethod):
300 # Some servers (FusionForge, as used on Alioth) require that the 300 # Some servers (FusionForge, as used on Alioth) require that the
301 # optional Accept header is set. 301 # optional Accept header is set.
302 r.add_header("Accept", "*/*") 302 r.add_header("Accept", "*/*")
303 r.add_header("User-Agent", "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Ubuntu/9.10 (karmic) Firefox/3.6.12")
303 def add_basic_auth(login_str, request): 304 def add_basic_auth(login_str, request):
304 '''Adds Basic auth to http request, pass in login:password as string''' 305 '''Adds Basic auth to http request, pass in login:password as string'''
305 import base64 306 import base64