--- http_interactions: - request: method: get uri: https://api.datacite.org/prefixes/10.1101 body: encoding: US-ASCII string: '' headers: User-Agent: - Maremma - https://github.com/datacite/maremma Accept: - text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5 response: status: code: 200 message: '' headers: Access-Control-Allow-Headers: - Content-Type,Accept,Accept-Encoding,Origin,User-Agent,Cache-Control,Keep-Alive Access-Control-Allow-Methods: - GET, POST, OPTIONS Access-Control-Allow-Origin: - "*" Access-Control-Max-Age: - '1728000' Cache-Control: - max-age=0, private, must-revalidate Content-Type: - application/vnd.api+json; charset=utf-8 Date: - Sat, 06 May 2017 11:41:53 GMT Etag: - W/"e293d7296daee535f3b06dd6574fe402" Server: - openresty/1.11.2.2 Status: - 200 OK Vary: - Accept-Encoding X-Content-Type-Options: - nosniff X-Frame-Options: - SAMEORIGIN X-Powered-By: - Phusion Passenger 5.1.2 X-Request-Id: - 00995a8f-dd47-4479-ace1-c4a7980defc7 X-Runtime: - '0.307326' X-Xss-Protection: - 1; mode=block Content-Length: - '124' Connection: - keep-alive body: encoding: UTF-8 string: '{"data":{"id":"10.1101","type":"prefixes","attributes":{"registration-agency":"Crossref","updated":"2016-09-21T20:45:32Z"}}}' http_version: recorded_at: Sat, 06 May 2017 11:41:53 GMT - request: method: get uri: http://www.crossref.org/openurl/?format=unixref&id=doi:10.1101/097196&noredirect=true&pid=tech@datacite.org body: encoding: US-ASCII string: '' headers: User-Agent: - Maremma - https://github.com/datacite/maremma Accept: - text/xml response: status: code: 200 message: '' headers: Server: - Apache-Coyote/1.1 Crossref-Deployment-Name: - qs2-2 Content-Type: - text/xml;charset=UTF-8 Content-Language: - en-US Date: - Sat, 06 May 2017 11:41:52 GMT Connection: - close body: encoding: ASCII-8BIT string: !binary |- PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGRvaV9y ZWNvcmRzPg0KICA8ZG9pX3JlY29yZCBvd25lcj0iMTAuMTEwMSIgdGlt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