-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #215 from AdrianJSClark/214-504-response-cant-be-d…
…eserialized-to-errorresponse Handle Wider Range of HTTP Error Responses
- Loading branch information
Showing
8 changed files
with
111 additions
and
762 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
src/Aydsko.iRacingData.UnitTests/Responses/ResponseUnknown504/1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"statuscode": 504, | ||
"headers": { | ||
"x-ratelimit-remaining": "238", | ||
"x-ratelimit-limit": "240", | ||
"x-ratelimit-reset": "1657533187" | ||
}, | ||
"contentType": "text/html", | ||
"content": "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\r\n<HTML><HEAD><META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=iso-8859-1\">\r\n<TITLE>ERROR: The request could not be satisfied</TITLE>\r\n</HEAD>< BODY>\r\n<H1>504 ERROR</H1>\r\n<H2>The request could not be satisfied.</H2>\r\n<HR noshade size=\"1px\">\r\nCloudFront attempted to establish a connection with the origin, but either the attempt failed or the origin closed the connection.\r\nWe can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.\r\n<BR clear=\"all\">\r\nIf you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.\r\n<BR clear=\"all\">\r\n<HR noshade size=\"1px\">\r\n<PRE>\r\nGenerated by cloudfront (CloudFront)\r\nRequest ID: eSHdZe3nj2sm7o-Jg8cdkzntk-xMUR8lISRFnLBAI12OTMPaM4cnTg==\r\n</PRE>\r\n<ADDRESS>\r\n</ADDRESS>\r\n</BODY></HTML>" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.