Skip to content

News does not update https://web.dev/feed.xml #976

Locked Answered by alexdebril
mogoh asked this question in Feed issues
Discussion options

You must be logged in to vote

@Grotax @mogoh I know what's going on, the root cause is a bug in the feed itself. Here's how to observe it:

  • on first call, without an 'If-modified-since' header or with a value set to 1970/01/01, it works and we get the full feed. But there's a first glitch in the headers: "Last-Modified" is set to "Tue, 01 Jan 1980 00:00:01 GMT".
  • so we perform a second call with "if-modified-since" set to "Tue, 01 Jan 1980 00:00:01 GMT": we get a 304 "Not Modified" status and an empty body

tests with feed-io

I hacked feed-io in a branch called issue/313 to reproduce the bug and validate my hypothesis. I made two commits, each one triggered a build on Travis.

In this build the feed was just added to th…

Replies: 9 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mogoh
Comment options

Comment options

You must be logged in to vote
1 reply
@alexdebril
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by anoymouserver
Comment options

You must be logged in to vote
1 reply
@mogoh
Comment options

Comment options

You must be logged in to vote
1 reply
@mogoh
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #976 on December 11, 2020 10:53.