I'm trying to get json from jira but all the time receive empty response. By the way from browser I get data well.
Here is my server code:
import pycurl
from StringIO import StringIO
c = pycurl.Curl()
buffer = StringIO()
c.setopt(c.URL, 'https://jirawebsite.com/file.json')
c.setopt(c.HTTPAUTH, c.HTTPAUTH_BASIC)
c.setopt(c.USERPWD, 'user:pass')
c.setopt(c.WRITEDATA, buffer)
c.perform()
c.close()
Yes, status code is 200. Response cookie contain HttpOnly (don't know if it's important)