Utilize If-None-Match header for WebCal refresh
I subscribe to the “On the Web” calendar https://mail.aegee.org/calendar/AllAegeeEvents.ics in Evolution. Then I click in the Calendar view on “Refresh”. WEBCAL_DEBUG=1 evolution-calendar-factory -r
prints:
> GET /calendar/AllAegeeEvents.ics HTTP/1.1
> Soup-Debug-Timestamp: 1589551686
> Soup-Debug: ESoupSession 1 (0x625000021150), SoupMessage 3 (0x6210000a1c70), SoupSocket 3 (0x6210000a5ab0)
> Host: mail.aegee.org
> User-Agent: Evolution/3.37.2
> Connection: close
> Cache-Control: no-cache
> Pragma: no-cache
> Accept-Encoding: gzip, deflate
> Accept-Language: en-us, en;q=0.9
< HTTP/1.1 200 OK
< Soup-Debug-Timestamp: 1589551687
< Soup-Debug: SoupMessage 3 (0x6210000a1c70)
< Server: nginx
< Date: Fri, 15 May 2020 14:08:07 GMT
< Content-Type: text/calendar
< Content-Length: 82989
< Last-Modified: Thu, 14 May 2020 13:26:01 GMT
< Connection: close
< ETag: "5ebd46e9-1442d"
< Content-Encoding: gzip
Since the server returns ETag
and Last-Modified
headers, EDS shall memorize them and on subsequent GET shall send If-None-Match
and If-Modified-Since
headers (or at least one of those, if both are present).
Is the GET content not logged, because it is gzip-encoded, or for other reasons?
Edited by Дилян Палаузов