--- http_interactions: - request: method: get uri: https://api.datacite.org/prefixes/10.5281 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: OK 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: - Wed, 23 Aug 2017 08:05:35 GMT Etag: - W/"0411b3916b13b0c38e2c133d6e9905e2" Server: - openresty/1.11.2.2 Status: - 200 OK Vary: - Accept-Encoding Via: - kong/0.10.3 X-Content-Type-Options: - nosniff X-Frame-Options: - SAMEORIGIN X-Kong-Proxy-Latency: - '2' X-Kong-Upstream-Latency: - '675' X-Powered-By: - Phusion Passenger 5.1.6 X-Ratelimit-Limit-Hour: - '100000' X-Ratelimit-Remaining-Hour: - '99931' X-Request-Id: - 39fbd97e-fe4d-4979-9668-24ccc530b455 X-Runtime: - '0.558594' X-Xss-Protection: - 1; mode=block Content-Length: - '124' Connection: - keep-alive body: encoding: UTF-8 string: '{"data":{"id":"10.5281","type":"prefixes","attributes":{"registration-agency":"DataCite","updated":"2016-09-21T20:27:13Z"}}}' http_version: recorded_at: Wed, 23 Aug 2017 08:05:35 GMT - request: method: get uri: https://search.datacite.org/api?fl=doi,xml,allocator_symbol,datacentre_symbol,media,minted,updated&q=doi:10.5281/zenodo.1239&wt=json 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: OK headers: Access-Control-Allow-Methods: - GET, POST, OPTIONS Access-Control-Allow-Origin: - "*" Content-Type: - application/json;charset=UTF-8 Date: - Wed, 23 Aug 2017 08:05:36 GMT Server: - openresty/1.11.2.2 Connection: - keep-alive body: encoding: UTF-8 string: '{"responseHeader":{"status":0,"QTime":1},"response":{"numFound":1,"start":0,"docs":[{"datacentre_symbol":"CERN.ZENODO","xml":"PHJlc291cmNlIHhtbG5zPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtMyIgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYS1pbnN0YW5jZSIgeHNpOnNjaGVtYUxvY2F0aW9uPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtMyBodHRwOi8vc2NoZW1hLmRhdGFjaXRlLm9yZy9tZXRhL2tlcm5lbC0zL21ldGFkYXRhLnhzZCI+CiAgPGlkZW50aWZpZXIgaWRlbnRpZmllclR5cGU9IkRPSSI+MTAuNTI4MS9aRU5PRE8uMTIzOTwvaWRlbnRpZmllcj4KICA8Y3JlYXRvcnM+CiAgICA8Y3JlYXRvcj4KICAgICAgPGNyZWF0b3JOYW1lPkphaG4sIE5hamtvPC9jcmVhdG9yTmFtZT4KICAgIDwvY3JlYXRvcj4KICAgIDxjcmVhdG9yPgogICAgICA8Y3JlYXRvck5hbWU+RmVubmVyLCBNYXJ0aW48L2NyZWF0b3JOYW1lPgogICAgPC9jcmVhdG9yPgogICAgPGNyZWF0b3I+CiAgICAgIDxjcmVhdG9yTmFtZT5EaW1pdHJvcG91bG9zLCBIYXJyeTwvY3JlYXRvck5hbWU+CiAgICA8L2NyZWF0b3I+CiAgICA8Y3JlYXRvcj4KICAgICAgPGNyZWF0b3JOYW1lPlNjaGlycndhZ2VuLCBKb2NoZW48L2NyZWF0b3JOYW1lPgogICAgPC9jcmVhdG9yPgogIDwvY3JlYXRvcnM+CiAgPHRpdGxlcz4KICAgIDx0aXRsZT5QdWJsaWNhdGlvbiBGUDcgRnVuZGluZyBBY2tub3dsZWRnbWVudCAtIFBMT1MgT3BlbkFJ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5hdGVJZGVudGlmaWVycz4KICAgIDxhbHRlcm5hdGVJZGVudGlmaWVyIGFsdGVybmF0ZUlkZW50aWZpZXJUeXBlPSJVUkwiPmh0dHA6Ly96ZW5vZG8ub3JnL3JlY29yZC8xMjM5PC9hbHRlcm5hdGVJZGVudGlmaWVyPgogIDwvYWx0ZXJuYXRlSWRlbnRpZmllcnM+CiAgPHJpZ2h0c0xpc3Q+CiAgICA8cmlnaHRzIHJpZ2h0c1VSST0iaW5mbzpldS1yZXBvL3NlbWFudGljcy9vcGVuQWNjZXNzIj5PcGVuIEFjY2VzczwvcmlnaHRzPgogICAgPHJpZ2h0cyByaWdodHNVUkk9Imh0dHA6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL3B1YmxpY2RvbWFpbi96ZXJvLzEuMC8iPkNyZWF0aXZlIENvbW1vbnMgWmVybyAxLjAgVW5pdmVyc2FsPC9yaWdodHM+CiAgPC9yaWdodHNMaXN0PgogIDxkZXNjcmlwdGlvbnM+CiAgICA8ZGVzY3JpcHRpb24gZGVzY3JpcHRpb25UeXBlPSJBYnN0cmFjdCI+VGhlIGRhdGFzZXQgY29udGFpbnMgYSBzYW1wbGUgb2YgbWV0YWRhdGEgZGVzY3JpYmluZyBwYXBlcnMgcHVibGlzaGVkIGluIFBMT1MgYW5kIHRoZWlyIGlkZW50aWZpZWQgZ3JhbnQgYWdyZWVtZW50IG51bWJlciBvZiBGUDcgcHJvamVjdHMuIEEgc2Vjb25kIGZpbGUgc2hvd3MgdGhlIGZyZXF1ZW5jeSBvZiBGUDcgZ3JhbnRzLiBUaGUgc2FtcGxlIHdhcyBjcmVhdGVkIGluIEp1bHkgMjAxMi48L2Rlc2NyaXB0aW9uPgogIDwvZGVzY3JpcHRpb25zPgo8L3Jlc291cmNlPgoNCg0K","allocator_symbol":"CERN","minted":"2013-04-03T09:52:22Z","updated":"2014-04-15T08:13:50Z","doi":"10.5281/ZENODO.1239"}]}} ' http_version: recorded_at: Wed, 23 Aug 2017 08:05:36 GMT - request: method: head uri: https://doi.org/10.5281/zenodo.1239 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: 303 message: See Other headers: Server: - Apache-Coyote/1.1 Vary: - Accept Location: - http://zenodo.org/record/1239 Expires: - Wed, 23 Aug 2017 08:12:45 GMT Content-Type: - text/html;charset=utf-8 Content-Length: - '143' Date: - Wed, 23 Aug 2017 08:05:35 GMT body: encoding: UTF-8 string: '' http_version: recorded_at: Wed, 23 Aug 2017 08:05:36 GMT recorded_with: VCR 3.0.3