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

Derive Default for ServeFileSystemResponseBody #336

Merged
merged 1 commit into from
Mar 12, 2023

Conversation

jplatte
Copy link
Collaborator

@jplatte jplatte commented Mar 12, 2023

Motivation

Some layers such as the CORS layer require the response body type to implement Default.

Solution

Derive Default for ServeFileSystemResponseBody.

@jplatte jplatte requested a review from davidpdrsn March 12, 2023 16:53
@davidpdrsn davidpdrsn enabled auto-merge (squash) March 12, 2023 16:56
@davidpdrsn davidpdrsn merged commit 1ad4c2b into master Mar 12, 2023
@davidpdrsn davidpdrsn deleted the jplatte/serve-file-response-body-default branch March 12, 2023 17:02
gezihuzi pushed a commit to gezihuzi/tower-http that referenced this pull request Jul 19, 2023
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