Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

When last_modified is passed as ETag for safety, sent headers are wrong #109

Closed
leplatrem opened this issue Jun 27, 2016 · 0 comments
Closed

Comments

@leplatrem
Copy link
Contributor

Using listRecords() the obtained last_modified for the collection is quoted.

If I pass the obtained value in the last_modified option on other methods, the sent header is quoted twice ('""12345""')

See https://github.com/Kinto/kinto-http.js/blob/v1.0.0/src/requests.js#L17

Note: another approach could be to unquote the last_modified value in the listRecords() result

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant