Skip to content

Expected HTTP response for subscribe is 201 - #382

Merged
gpocentek merged 1 commit into
python-gitlab:masterfrom
ptomato:subscribe-response-code
Dec 11, 2017
Merged

Expected HTTP response for subscribe is 201#382
gpocentek merged 1 commit into
python-gitlab:masterfrom
ptomato:subscribe-response-code

Conversation

@ptomato

@ptomato ptomato commented Dec 3, 2017

Copy link
Copy Markdown
Contributor

It seems that the GitLab API gives HTTP response code 201 ("created") when
successfully subscribing to an object, not 200.

It seems that the GitLab API gives HTTP response code 201 ("created") when
successfully subscribing to an object, not 200.
@gpocentek
gpocentek merged commit f624d2e into python-gitlab:master Dec 11, 2017
@gpocentek

Copy link
Copy Markdown
Contributor

Nice catch, thank you!

@ptomato
ptomato deleted the subscribe-response-code branch December 21, 2017 23:01
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