Ruhrpottpatriot / GW2.NET

A user friendly wrapper around the official GW2 API
GNU General Public License v2.0
17 stars 17 forks source link

HTTP 503 (Service Unavailable) #46

Open sliekens opened 6 years ago

sliekens commented 6 years ago

There is a special kind of response that is used when the API is down. Let's make sure it is handled properly.

HTTP/1.1 503 Service Unavailable
Content-Length: 30
Content-Type: application/json; charset=utf-8
Server: Quaggans
X-Rate-Limit-Limit: 600
X-Content-Type-Options: nosniff
Access-Control-Allow-Origin: *
X-Powered-By: ARR/2.5
X-Frame-Options: SAMEORIGIN
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Date: Sun, 24 Sep 2017 09:10:08 GMT

{
  "text": "API not active"
}