Skip to content

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

Merged
gpocentek merged 1 commit into
python-gitlab:masterfrom
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:masterfrom
dekimsey:header-private-token

Conversation

@dekimsey

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

@gpocentek

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 gpocentek merged commit d39c471 into python-gitlab:master Aug 27, 2013
@gpocentek

Copy link
Copy Markdown
Contributor

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

Thanks for the patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants