REST API returning etags as slashed quoted
9 Jan
2015
9 Jan
'15
5:52 p.m.
The REST API is returning etags as slashed quoted.
Just wondering if this is intentional, does not seem consistent with the behaviour of the other fields returned from the API.
i.e.
"http_etag": "\"d6d174c76c5fbb5f8a69b648ecd3b27b53a5d27e\”",
thanks
9 Jan
9 Jan
10:07 p.m.
On Jan 10, 2015, at 10:52 AM, Andrew Stuart wrote:
The REST API is returning etags as slashed quoted.
Just wondering if this is intentional, does not seem consistent with the behaviour of the other fields returned from the API.
i.e.
"http_etag": "\"d6d174c76c5fbb5f8a69b648ecd3b27b53a5d27e\”",
It's intentional, but I don't remember why. I think I remember reading that the HTTP ETag header (which we actually don't set in the HTTP response, but probably should) is quoted.
Cheers, -Barry
3391
Age (days ago)
3392
Last active (days ago)
1 comments
2 participants
participants (2)
-
Andrew Stuart
-
Barry Warsaw