python-gitlab
python-gitlab copied to clipboard
Obtaining headers from response
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
I think it's not possible to retrieve custom headers at this time. I would be happy to review any MR related to this
How this can be added ?