Skip to content
This repository was archived by the owner on Apr 5, 2019. It is now read-only.

Last-Modified method returns current time #213

@NotBobTheBuilder

Description

@NotBobTheBuilder

The Last-Modified HTTP header is always set to the current time, regardless of when it was previously set.

I think the problem is occuring here in classes/Base/Response, it looks like the last modified time is, for some reason, null.

I think it would be worth extending the code here so that in the case of no Last Modified time being found, the value of strtotime('now') is persisted in the lastModifiedTime property and saved to the DB.

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