Skip to content

Conversation

@sigurdm
Copy link
Contributor

@sigurdm sigurdm commented Oct 21, 2025

No description provided.

@sigurdm sigurdm requested a review from isoos October 21, 2025 12:13
return shelf.Response.notFound('Unsupported method');
return shelf.Response.notFound(
'Unsupported method',
headers: {...securityHeaders},
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we can write headers: securityHeaders here (and later on), since it won't update the headers map. (maybe make it const to be sure)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Collaborator

Choose a reason for hiding this comment

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

missing push on the commit?

@sigurdm sigurdm merged commit c5dabf8 into dart-lang:master Oct 21, 2025
24 checks passed
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.

2 participants