Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use integer response code values #766

Merged

Conversation

IceWreck
Copy link
Contributor

@IceWreck IceWreck commented Aug 4, 2020

Thanks to @Stranger6667 for reporting it in #368 (comment)

Basically we were sending and documenting the response status object instead of the integer code as required by RestX and the return value to a view should also have an integer code as status.

https://docs.python.org/3/library/http.html

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

Copy link
Member

@TomasTomecek TomasTomecek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

can we get at least a single test case updated please?

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

@IceWreck
Copy link
Contributor Author

IceWreck commented Aug 5, 2020

Done

@softwarefactory-project-zuul
Copy link
Contributor

Build failed.

@IceWreck
Copy link
Contributor Author

IceWreck commented Aug 6, 2020

what happened to zuul?

/recheck

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

@IceWreck IceWreck added the ready-for-review Pull request is ready for review. label Aug 6, 2020
Copy link
Member

@TomasTomecek TomasTomecek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

@TomasTomecek TomasTomecek added the mergeit When set, zuul wil gate and merge the PR. label Aug 6, 2020
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded (gate pipeline).

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit 8649701 into packit:master Aug 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mergeit When set, zuul wil gate and merge the PR. ready-for-review Pull request is ready for review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants