Skip to content

serveStatic middleware sets the Date header to the file creation time, which is invalid for HTTP #348

Closed

Description

@Arlen22

The Date header should always be set to the message time. Setting it to the file creation time is invalid semantics. This might even be overwritten by the server, so this bug might never have appeared in practice.

Activity

  1. usualoma commented on May 6, 2026

    @usualoma
    Member

    Hi @Arlen22,

    Thank you for pointing that out.
    I’ll fix this as a bug.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions