python-gitlab icon indicating copy to clipboard operation
python-gitlab copied to clipboard

Obtaining headers from response

Open baegmon opened this issue 5 years ago • 2 comments
trafficstars

Description of the problem, including code/CLI snippet

Hey, just wondering is it possible to retrieve the headers from the response? I can't seem to find it in the documentations... I'm just interested in obtaining the rate limiting headers after a response so that I can implement custom workflows.

RateLimit-Limit: 600
RateLimit-Observed: 6
RateLimit-Remaining: 594
RateLimit-Reset: 1563325137
RateLimit-ResetTime: Wed, 17 Jul 2019 00:58:57 GMT

baegmon avatar Dec 29 '19 17:12 baegmon

I think it's not possible to retrieve custom headers at this time. I would be happy to review any MR related to this

max-wittig avatar Dec 29 '19 20:12 max-wittig

How this can be added ?

emirot avatar Aug 11 '20 21:08 emirot