EXXETA / EXXETA/openapi-cop

Do not require `content-type` header for empty responses

Open
#402 0 comments 0 reactions 1 assignee Claimed by @LexLuengas View on GitHub
Dominant language
TypeScript
Stars
370
Forks
13
PR merge metrics
No merged PRs in 30d

Description

The HTTP spec does not require a `content-type` header for empty responses and some people may argue that such responses even should not contain such header. As a matter of fact even non-empty responses [only "SHOULD" contain](https://www.rfc-editor.org/rfc/rfc7231#section-3.1.1.5) a `content-type` header while still not being mandatory.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.