title: AttributeError: 'tuple' object has no attribute 'strip'
body: <p>I use python and this is my code</p>
  
  <pre><code>        myUser = 'username'
          myServer = 'http://api.url.net', "{\"orga\":\"monorga\",\"coupon\":\"moncoupon\"}"
          myPass = 'pass'
          authString = base64.encodestring('%s:%s' % (myUser, myPass))
          headers = {'Authorization':"Basic %s" % authString}
          req = urllib2.Request(myServer, None, headers)
          openedUrl = urllib2.urlopen(req)
  
  url = url.strip()
  AttributeError: 'tuple' object has no attribute 'strip'
  </code></pre>
  
  <p>Please help me</p>