Finally, i solved it using urllib2 and base64.

  1. Make a POST request
    base64string = base64.encodestring('%s:%s' % (username, password)).replace('\n', '')
    headers = {'X-Requested-With' : 'urllib2','Content-Type': 'text/xml; charset=UTF-8','Authorization': 'Basic %s' % base64string}
    req = urllib2.Request(url=""> response = urllib2.urlopen(req)
Change By: José Manuel González Maldonado (07/Jul/14 3:21 PM)
Status: Open Resolved
Resolution: Fixed
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to