beanbag icon indicating copy to clipboard operation
beanbag copied to clipboard

How to access response headers?

Open hcw70 opened this issue 8 years ago • 0 comments

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

hcw70 avatar Nov 22 '16 13:11 hcw70