Skip to content

Conversation

@seb-cr
Copy link
Contributor

@seb-cr seb-cr commented Jan 20, 2023

Makes RESPONSE_HEADERS available for import from the package index. This is useful if you want to change the default headers in your responses, e.g. to change Content-Type.

The type is also relaxed to Record<string, string> to allow adding or removing headers.

BREAKING CHANGE: the Access-Control-Allow-Credentials header value is now the string 'true' instead of Boolean true. This could affect tests that rely on unstringified values.

Makes `RESPONSE_HEADERS` available for import from the package index.
This is useful if you want to change the default headers in your
responses, e.g. to change `Content-Type`.

The type is also relaxed to `Record<string, string>` to allow adding or
removing headers.

BREAKING CHANGE: the `Access-Control-Allow-Credentials` header value is
now the string `'true'` instead of Boolean `true`.
@seb-cr seb-cr requested a review from pauldolden January 20, 2023 16:39
Copy link

@pauldolden pauldolden left a comment

Choose a reason for hiding this comment

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

All good! 🚀

@seb-cr seb-cr merged commit d8857d0 into beta Jan 23, 2023
@seb-cr seb-cr deleted the export-RESPONSE_HEADERS-and-fix-type branch January 23, 2023 15:46
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.

3 participants