Skip to content

Feature: Add ETag support #1

Description

@NfNitLoop

This is a feature I requested and used in rust-embed: https://github.com/pyrossh/rust-embed/issues/140

Would be nice to have it here too.

  • Update the generator to save LastModified
  • Update the generator (or just ad a lazy method) to provide a sha-256 hash of the bytes.
  • Update the oak helpers to properly serve requests w.r.t. Tag/Last-Modified

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions