Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to access response headers? #6

Open
hcw70 opened this issue Nov 22, 2016 · 0 comments
Open

How to access response headers? #6

hcw70 opened this issue Nov 22, 2016 · 0 comments

Comments

@hcw70
Copy link

hcw70 commented Nov 22, 2016

While trying to access gitlab api and dealing with pagination, i need access to the resonse headers.

As it looks from the code the response header is thrown away in the decode() function.

Is there a workaround i can use?
I was trying to simply subclass BeanBag but that complained about missing:

AttributeError: 'MyBeanBagBase' object has no attribute 'base_url'

Kind regards

Hauke

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant