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

feat: formatter for HTTP responses #461

Merged
merged 1 commit into from Aug 19, 2021
Merged

feat: formatter for HTTP responses #461

merged 1 commit into from Aug 19, 2021

Conversation

blgm
Copy link
Collaborator

@blgm blgm commented Aug 13, 2021

Previously when the HaveHTTPStatus() matcher failed, the whole HTTP
response object was printed out, and any message was rendered in
bytes rather than as a string.

This introduces a formatter for HTTP responses, so that the key data is
presented in a helpful format.

@blgm blgm force-pushed the http-response-formatter branch 2 times, most recently from 69bf55e to 8786502 Compare August 13, 2021 10:25
Previously when the HaveHTTPStatus() matcher failed, the whole HTTP
response object was printed out, and any message was rendered in
bytes rather than as a string.

This introduces a formatter for HTTP responses, so that the key data is
presented in a helpful format.
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.

None yet

2 participants