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

Expose Dream.static file loaders #14

Open
1 of 3 tasks
aantron opened this issue Apr 8, 2021 · 0 comments
Open
1 of 3 tasks

Expose Dream.static file loaders #14

aantron opened this issue Apr 8, 2021 · 0 comments

Comments

@aantron
Copy link
Owner

aantron commented Apr 8, 2021

  • The default file loader would probably be useful to wrap in a middleware-like fashion, so that users don't have to implement the actual file reading, but can easily add custom headers, especially ETag:.
  • Also expose a crunch-friendly loader, and add an example.
  • Simplify static loader and move it to Responses section.

See Dream.static ?handler (rename to ?loader?).

@aantron aantron added this to the alpha2 milestone Apr 26, 2021
aantron added a commit that referenced this issue Apr 27, 2021
aantron added a commit that referenced this issue Apr 27, 2021
@aantron aantron removed this from the alpha2 milestone Apr 27, 2021
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

No branches or pull requests

1 participant