title: Stripped prohibited headers from URLFetch request: ['Host']
body: <p>I try to run simple scrap script to generate rss on gae. but getting this error. I searched all stackoverflow answer but it didnt help</p>
  
  <pre><code>urlfetch_stub.py:504] Stripped prohibited headers from URLFetch request: ['Host']
  </code></pre>
  
  <p>I use this script </p>
  
  <pre><code># -*- coding: cp1254 -*-
  import sys
  sys.path.append('libs/')
  reload(sys); sys.setdefaultencoding('utf-8')
  from bs4 import BeautifulSoup
  import urllib
  from google.appengine.api import urlfetch
  
  
  from datetime import datetime
  import locale
  
  import PyRSS2Gen
  locale.setlocale(locale.LC_ALL, '')
  import requests
  import codecs
  
  class yenitem:
          baslik= ""
          link=""
          aciklama=""
          zaman=datetime.now()
  
  def parse(url):
       page=urllib2.urlopen(url)
       soup=BeautifulSoup(page.read())
  
  ##     request=urllib.Request(url)
  ##     request.add_header('Accept-Encoding','utf-8')
  ##     response=urllib2.urlopen(request)
  ##     response=urlfetch.fetch( url, headers={ "User-Agent" : user_agent } ).content
  
  
  ##     soup = BeautifulSoup(response.read().decode('utf-8', 'ignore'))
  
       items=[]
  ##     print soup
  
       for link in soup.find_all('article',{'class':'item-list'}):
  
           item=yenitem()
  
           item.baslik=link.find_all('h2')[0].get_text()
           item.link= link.find_all('a')[0].get('href')
           item.aciklama= link.find_all('div')[1].get_text()
  
           item.zaman=link.find_all('span')[0].get_text()
  
  
  
  
  
           items.append(item)
       return items 
  </code></pre>
  
  <p>error log :</p>
  
  <pre><code>2015-01-28 00:10:23 Running command: "['C:\\Python27\\pythonw.exe', 'C:\\Program Files (x86)\\Google\\google_appengine\\dev_appserver.py', '--skip_sdk_update_check=yes', '--port=8080', '--admin_port=8000', 'C:\\Users\\bigM\\Desktop\\gomhg\\denemer']"
  INFO     2015-01-28 00:10:28,510 devappserver2.py:745] Skipping SDK update check.
  INFO     2015-01-28 00:10:28,585 api_server.py:172] Starting API server at: http://localhost:61808
  INFO     2015-01-28 00:10:28,589 dispatcher.py:186] Starting module "default" running at: http://localhost:8080
  INFO     2015-01-28 00:10:28,592 admin_server.py:118] Starting admin server at: http://localhost:8000
  WARNING  2015-01-28 00:10:32,867 urlfetch_stub.py:504] Stripped prohibited headers from URLFetch request: ['Host']
  Content-Type: text/xml
  &lt;?xml version="1.0" encoding="iso-8859-1"?&gt;
  &lt;rss version="2.0"&gt;&lt;channel&gt;&lt;title&gt;ff&lt;/title&gt;&lt;link&gt;&lt;/link&gt;&lt;description&gt;&lt;/description&gt;&lt;lastBuildDate&gt;&lt;/lastBuildDate&gt;&lt;generator&gt;PyRSS2Gen-1.0.0&lt;/generator&gt;&lt;docs&gt;http://blogs.law.harvard.edu/tech/rss&lt;/docs&gt;&lt;item&gt;&lt;title&gt;Destan yazanlar, yazd&amp;#305;ranlar&lt;/title&gt;&lt;link&gt;http://www.taraf.com.tr/yazarlar/destan-yazanlar-yazdiranlar/&lt;/link&gt;&lt;description&gt;
  .....
  </code></pre>