module Responses
Unauthorized = %|HTTP/1.1 401 Unauthorized
Date: Wed, 09 Sep 2009 00:51:25 GMT
Server: Mongrel 1.1.3
Status: 401 Unauthorized
Cache-Control: no-cache
Content-Type: application/xml; charset=utf-8
Content-Length: 142
Vary: Accept-Encoding
Connection: close
Authentication Failed
|
BadRequest = %|
HTTP/1.1 400 Bad Request
Date: Thu, 03 Sep 2009 15:53:28 GMT
Server: Mongrel 1.1.3
Status: 400 Bad Request
Cache-Control: no-cache
Content-Type: application/xml; charset=utf-8
Content-Length: 143
Vary: Accept-Encoding
Connection: close
-5000
HTTPS is required
|
InvalidOrderId = %|HTTP/1.1 404 Not Found
Date: Thu, 03 Sep 2009 16:57:30 GMT
Server: Mongrel 1.1.3
Status: 404 Not Found
Cache-Control: no-cache
Content-Type: application/xml; charset=utf-8
Content-Length: 161
Vary: Accept-Encoding
Connection: close
-90004
Invalid order identifier requested
|
GenericFailure = %|HTTP/1.1 422 Unprocessable Entity
Date: Thu, 03 Sep 2009 16:57:30 GMT
Server: Mongrel 1.1.3
Status: 422 Unprocessable Entity
Cache-Control: no-cache
Content-Type: application/xml; charset=utf-8
Content-Length: 149
Vary: Accept-Encoding
Connection: close
-12345
Generic failure message
|
end