I know that in my specific case (which may not be helpful), the header information coming out of the node is:
Pragma: no-cache
Connection: close
Access-Control-Max-Age: 0
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
Access-Control-Allow-Methods: POST, GET, OPTIONS, PUT, DELETE
Access-Control-Allow-Headers: Content-Type
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Content-Type: application/json
Expires: Mon, 1 Aug 2011 09:00:00 GMT
but the full plaintext response I see in a sniffer is:
HTTP/1.1 200 OK
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Expires: Mon, 1 Aug 2011 09:00:00 GMT
Connection: close
Access-Control-Max-Age: 0
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
Access-Control-Allow-Methods: POST, GET, OPTIONS, PUT, DELETE
Access-Control-Allow-Headers: Content-Type
Content-type: application/json
[{"error":{"type":101,"address":"","description":"link button not pressed"}}]({"error":{"type":101,"address":"","description":"link button not pressed"}})
note: the ‘[{“error”:{“type”:101,“address”:"",“description”:“link button not pressed”}}]({“error”:{“type”:101,“address”:"",“description”:“link button not pressed”}})’ json is a good sign, and exactly what I’m looking to receive, so no problem there
don’t know if that helps at all, but there you go