betfair / aping-ios-sdk

iOS SDK for APING
Other
4 stars 9 forks source link

Report on Splashed API #16

Closed seanoshea closed 10 years ago

seanoshea commented 10 years ago

The following response indicates that the API has been splashed:

<NSHTTPURLResponse: 0x8c81ef0> { URL: http://content.betfair.com/content/splash/unplanned/index.asp } { status code: 200, headers {
    "Cache-Control" = private;
    "Content-Encoding" = gzip;
    "Content-Length" = 402;
    "Content-Type" = "text/html";
    "Cteonnt-Length" = 644;
    Date = "Sun, 06 Jul 2014 11:03:49 GMT";
    "Set-Cookie" = "ASPSESSIONIDSSRAQAQB=LKAJBOHAPJOIIFPJOAPLKBLM; path=/, NSC_mc-80-dpoufou.sfejsfdu=ffffffff0920970145525d5f4f58455e445a4a4229a0;path=/;httponly";
    "X-WR-Flags" = "CCHOMode=3600:3600:force,BRefresh=on";
} }

The BNGAPI client should be able to consume this response and indicate to client code that the API has been splashed.

seanoshea commented 10 years ago

Closing as error reporting now reports splashed api as BNGAPIErrorCodeServiceBusy