passiomatic / coldsweat

Web RSS aggregator and reader compatible with the Fever API
MIT License
145 stars 21 forks source link

Feed updates skipped while doing a conditional GET #99

Closed passiomatic closed 8 years ago

passiomatic commented 8 years ago

This gives "Not Modified" for a feed in Coldsweat while with curl gives the right result:

curl -v --header "If-None-Match: \"9ba67c92dd4c98d696def7f461cfbd9d\"" --header "If-Modified-Since: Fri, 29 Jul 2016 16:29:14 GMT" -I http://www.dissapore.com/feed/atom/

*   Trying 84.53.161.33...
* Connected to www.dissapore.com (84.53.161.33) port 80 (#0)
> HEAD /feed/atom/ HTTP/1.1
> Host: www.dissapore.com
> User-Agent: curl/7.43.0
> Accept: */*
> If-None-Match: "9ba67c92dd4c98d696def7f461cfbd9d"
> If-Modified-Since: Fri, 29 Jul 2016 16:29:14 GMT
> 
< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< Server: Apache
Server: Apache
< X-Powered-By: PHP/5.5.9-1ubuntu4.19
X-Powered-By: PHP/5.5.9-1ubuntu4.19
< X-UA-Compatible: IE=edge,chrome=1
X-UA-Compatible: IE=edge,chrome=1
< Cache-Control: public, s-maxage=120
Cache-Control: public, s-maxage=120
< Link: <http://www.dissapore.com/wp-json/>; rel="https://api.w.org/"
Link: <http://www.dissapore.com/wp-json/>; rel="https://api.w.org/"
< Last-Modified: Sat, 13 Aug 2016 11:28:26 GMT
Last-Modified: Sat, 13 Aug 2016 11:28:26 GMT
< ETag: "45053fae01568a39ac84c8f6f5d5c1b1"
ETag: "45053fae01568a39ac84c8f6f5d5c1b1"
< Content-Type: application/atom+xml; charset=UTF-8
Content-Type: application/atom+xml; charset=UTF-8
< Content-Length: 0
Content-Length: 0
< Date: Sun, 14 Aug 2016 08:32:21 GMT
Date: Sun, 14 Aug 2016 08:32:21 GMT
< Connection: keep-alive
Connection: keep-alive
passiomatic commented 8 years ago

Looks a server side issue to me. Works OK now.