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

[BUG] Response content-type in spec tests is not validated #392

Closed
dblock opened this issue Jul 9, 2024 · 0 comments · Fixed by #394
Closed

[BUG] Response content-type in spec tests is not validated #392

dblock opened this issue Jul 9, 2024 · 0 comments · Fixed by #394
Assignees
Labels
bug Something isn't working

Comments

@dblock
Copy link
Member

dblock commented Jul 9, 2024

What is the bug?

Coming from #386 (comment), looks like response/content-type is not validated.

How can one reproduce the bug?

In tests.

    response:
      status: 200
      content_type: x/z // doesn't matter what you put here

What is the expected behavior?

Fail if the response type is incorrect.

@dblock dblock added bug Something isn't working untriaged labels Jul 9, 2024
@dblock dblock changed the title [BUG] Response content-type is not validated [BUG] Response content-type in spec tests is not validated Jul 9, 2024
@Xtansia Xtansia removed the untriaged label Jul 10, 2024
@Xtansia Xtansia self-assigned this Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants