Skip to content

Unable to change default headers #145

Open
@deeshank

Description

@deeshank

Hi,

One of the REST URL's response is json [Content-Type:application/json] but when i tried to overrride the default headers it doesn't reflect in the request headers -

resp, content = client.request(request_token_url, "GET",headers={'Content-Type':'application/json'})

headers={'content-type':'application/xml','Accept':'/','Connection':'keep-alive'}
cl.request(url,headers=headers)

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions