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... |
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. |