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

Better Stream Support #66

Merged
merged 2 commits into from
Jan 14, 2025
Merged

Better Stream Support #66

merged 2 commits into from
Jan 14, 2025

Conversation

brianjhanson
Copy link
Collaborator

We're currently assuming anytime $response->stream is true that we're dealing with an image and need to serve it from S3. From time to time (specifically when using Datastar) we need to return a stream as a regular old response. This updates our conditional to make sure we're not dealing with a content-type starting with text/ before serving from S3.

@brianjhanson
Copy link
Collaborator Author

@timkelty updated this based on your comment, and switched up the base to be off the 1.x branch. I created the original PR off the 2.x branch so Kenneth could test it easily.

@brianjhanson brianjhanson changed the title Testing a theory Better Stream Support Jan 14, 2025
@timkelty timkelty merged commit 88d2231 into 1.x Jan 14, 2025
3 of 5 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