forked from sentinelsat/sentinelsat
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'cleaner-exceptions' of https://github.com/valgur/sentin…
…elsat into valgur-cleaner-exceptions
- Loading branch information
Showing
3 changed files
with
73 additions
and
29 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
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,23 @@ | ||
interactions: | ||
- request: | ||
body: null | ||
headers: | ||
Accept: ['*/*'] | ||
Accept-Encoding: ['gzip, deflate'] | ||
Connection: [keep-alive] | ||
User-Agent: [sentinelsat/0.9.1] | ||
method: GET | ||
uri: https://scihub.copernicus.eu/apihub/odata/v1/Products('invalid-xyz')/?$format=json | ||
response: | ||
body: {string: '{"error":{"code":null,"message":{"lang":"en","value":"Invalid | ||
key (invalid-xyz) to access Products"}}}'} | ||
headers: | ||
Content-Length: ['102'] | ||
Content-Type: [application/json] | ||
DataServiceVersion: ['1.0'] | ||
Date: ['Sun, 09 Apr 2017 22:44:50 GMT'] | ||
Pragma: [no-cache] | ||
Server: [Apache-Coyote/1.1] | ||
cause-message: ['InvalidKeyException : Invalid key (invalid-xyz) to access Products'] | ||
status: {code: 500, message: Internal Server Error} | ||
version: 1 |