Gzip

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jptrader
    Junior Member
    • Nov 2009
    • 82

    #1

    Gzip

    In an effort to improve performance of my application, I was trying to get the API NG to return gzipped responses, but was not able to. Has anybody else been able to do this? Or is the JSON data so compact that it would not matter? A comment from the BDP team would be appreciated.
  • Tipmanager1
    Junior Member
    • Sep 2013
    • 34

    #2
    I am also interested in answer to this question....

    Comment

    • John_b
      Junior Member
      • Sep 2013
      • 3

      #3
      I am passing this in the header

      {'Accept-Encoding' : 'gzip'}

      and get

      ('Content-Encoding')=="gzip"

      in the response.

      Seems to working ok in python, you will have to workout how to ungzip the stream.

      Comment

      • jptrader
        Junior Member
        • Nov 2009
        • 82

        #4
        Thanks John b. That was what I was doing as well (in C#) but must have done something wrong. With your confirmation that it is working I will try once again.

        Comment

        Working...
        X