← Winnitude! Search  ·  Reader Mode (931 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 26 LINKS

Use PRIVATE-TOKEN header for passing the auth token by dekimsey · Pull Request #3 · python-gitlab/python-gitlab

Repository navigation

Use PRIVATE-TOKEN header for passing the auth token - #3


Merged
gpocentek merged 1 commit into python-gitlab:master from dekimsey:header-private-token Aug 27, 2013
Merged

Use PRIVATE-TOKEN header for passing the auth token #3 gpocentek merged 1 commit into python-gitlab:master from dekimsey:header-private-token

Conversation

dekimsey commented Jul 2, 2013



Copy link Copy Markdown
Contributor

This moves the private_token field from out of the request url and into the request header.

Use PRIVATE-TOKEN header for passing the auth token d39c471

gpocentek commented Jul 5, 2013



Copy link Copy Markdown
Contributor

Hi,

I'd like to merge this change, but I'm afraid it would break gitlab 4.x compatibility. The use of the header doesn't seem possible for those versions (according to the doc, I didn't look at the code).

On the other hand, I have absolutely no idea if python-gitlab is used with gitlab 4.x...

gpocentek merged commit d39c471 into python-gitlab : master Aug 27, 2013

gpocentek commented Aug 27, 2013



Copy link Copy Markdown
Contributor

gitlab v6 is out, v4 is getting old...

Thanks for the patch.

filipowm mentioned this pull request Feb 7, 2020 Add capability to control GitLab features per project or group #1008 Merged ptalbert mentioned this pull request Jan 7, 2026 feat: integrate pytest-gitlab #3313 Draft Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment

Labels

None yet

2 participants