gzip problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gus
    Senior Member
    • Jan 2009
    • 134

    #1

    gzip problem

    Today the API doesn't seem to be gzipping the JSON responses (except for the Menu), which completely broke my apps.

    Possibly I should have had a back-up routine for this eventuality ( I have now! ), but just thought I'd mention it in case it's causing anyone else problems.
  • Mr Magoo
    Junior Member
    • Jan 2011
    • 86

    #2
    You should definitely have a backup for this behaviour - HTTP servers don't have to compress any response. Clients can only tell the server that they will accept a compressed response, but they can't demand it.

    Still, it's a bit strange that Betfair aren't compressing API responses. They compress the web pages, why not the API too? it'd save a lot of bandwidth.

    Comment

    • gus
      Senior Member
      • Jan 2009
      • 134

      #3
      The responses usually are zipped, in fact I thought it was a requirement that applications request gzipped responses(in the Header).

      It's just since sometime today that they appear not be zipped.

      Comment

      • gus
        Senior Member
        • Jan 2009
        • 134

        #4
        Just heard from the BDP Team that the problem should be fixed in the next couple of hours.

        Comment

        Working...
        X