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

Using query on URL sometimes reports date: none #2496

Closed
Oldes opened this issue Jun 13, 2022 · 0 comments
Closed

Using query on URL sometimes reports date: none #2496

Oldes opened this issue Jun 13, 2022 · 0 comments
Labels
Oldes.resolved Bugs/wishes with Oldes' fixes/features Test wanted It would be nice to write a test Type.bug Type.networking

Comments

@Oldes
Copy link
Owner

Oldes commented Jun 13, 2022

Using query on URL should set date also when Last-Modified is not present and only Date is in the header.

For example:

query https://social.metaproject.frl/REBOL/

results:

== make object! [
    name: https://social.metaproject.frl/REBOL/
    size: none
    date: none
    type: 'url
    response-line: "HTTP/1.1 200 OK"
    response-parsed: 'ok
    headers: make object! [
        Content-Length: none
        Content-Encoding: "gzip"
        Transfer-Encoding: none
        Last-Modified: none
        Date: "Mon, 13 Jun 2022 07:10:38 GMT"
        Content-Type: "text/html"
        Connection: "keep-alive"
        Cache-Control: "no-store"
        CF-Cache-Status: "DYNAMIC...
@Oldes Oldes added Test wanted It would be nice to write a test Oldes.resolved Bugs/wishes with Oldes' fixes/features labels Jun 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Oldes.resolved Bugs/wishes with Oldes' fixes/features Test wanted It would be nice to write a test Type.bug Type.networking
Projects
None yet
Development

No branches or pull requests

1 participant