Closed
Bug 1377542
Opened 7 years ago
Closed 7 years ago
Add ETag/I-M-S headers support to blocklist.xml endpoint
Categories
(Cloud Services :: Server: Remote Settings, enhancement)
Cloud Services
Server: Remote Settings
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: leplatrem, Assigned: leplatrem)
References
Details
We want the server to return a 304 when nothing changed since the timestamp specified in headers. Note: this has to be implemented in kinto-amo plugin: https://github.com/mozilla-services/kinto-amo/issues/21
Assignee | ||
Updated•7 years ago
|
Assignee: tarek → mathieu
Assignee | ||
Comment 1•7 years ago
|
||
This is solved: Headers contain ETag and Last-Modified info: $ http HEAD https://firefox.settings.services.mozilla.com/v1/blocklist/3/%7Bec8030f7-c20a-464f-9b0e-13a3a9e97384%7D/46.0/ HTTP/1.1 200 OK Access-Control-Expose-Headers: Alert, Backoff, Content-Length, Retry-After Age: 15 Connection: keep-alive Content-Length: 272645 Content-Type: application/xml;charset=UTF-8 Date: Fri, 14 Jul 2017 10:51:08 GMT ETag: "1483471392954" Last-Modified: Tue, 03 Jan 2017 19:23:12 GMT Via: 1.1 b1ad12e40925f327a5ca94675f072b12.cloudfront.net (CloudFront) X-Amz-Cf-Id: Ivtb07phcPNguI5OVTQtTHAmdWAbVrDHGtyw-32lNvdvrSP_NPll5A== X-Cache: Hit from cloudfront X-Content-Type-Options: nosniff A 304 response is returned when nothing changed: $ http HEAD https://firefox.settings.services.mozilla.com/v1/blocklist/3/%7Bec8030f7-c20a-464f-9b0e-13a3a9e97384%7D/46.0/ 'If-None-Match:"1483471392954"' HTTP/1.1 304 Not Modified Access-Control-Expose-Headers: Alert, Backoff, Content-Length, Retry-After Connection: keep-alive Date: Fri, 14 Jul 2017 10:52:16 GMT ETag: "1483471392954" Last-Modified: Tue, 03 Jan 2017 19:23:12 GMT Via: 1.1 1b0e2c12e43b797479be5ac44b57db2c.cloudfront.net (CloudFront) X-Amz-Cf-Id: RIou1114GQW2Bd_R7xca6n5UQ48GPhcVbcdTmGEaIig9WqWLjFswpg== X-Cache: Miss from cloudfront X-Content-Type-Options: nosniff
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•