JSON REST Service: Content-Encoding: gzip

后端 未结 2 783
春和景丽
春和景丽 2020-12-21 07:24

I am writing some code to interface with a service that I do not have yet, so I am writing a simulator to attempt to de-risk some of the problems I might run into when I get

2条回答
  •  礼貌的吻别
    2020-12-21 07:26

    You're correct. Just Gzip the JSON string and return it.

    Best reference for any REST implementation is the HTTP/1.1 RFC: http://tools.ietf.org/html/rfc2616

提交回复
热议问题