Options

JSON response header questions

cabbeycabbey Registered Users Posts: 1,053 Major grins
In the http headers coming back from the JSON end point there are a couple entries I'm curious about:

Set-Cookie: shott=%241%24B...more chars...K0; expires=Tue, 13-Nov-2007 05:56:36 GMT; path=/; domain=.smugmug.com
ETag: "2e6f1e...more hex...799fb9"

(I've truncated both, just in case they're some variation of my password hash or something.... though I see no resemblance to it.)

What are these? Do I need to preserve the cookie and send it back?

Oh, and one more thing:

Content-Type: text/html; charset=utf-8

The JSON RFC calls for "application/json" there. ;)
SmugMug Sorcerer - Engineering Team Champion for Commerce, Finance, Security, and Data Support
http://wall-art.smugmug.com/
Sign In or Register to comment.