--- http_interactions: - request: method: get uri: https://api.datacite.org/prefixes/10.5438 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: - Sun, 23 Jul 2017 10:03:47 GMT Etag: - W/"b9f2d79281c542db437c42a5bac25ac8" 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: - '1' X-Kong-Upstream-Latency: - '229' X-Powered-By: - Phusion Passenger 5.1.5 X-Ratelimit-Limit-Hour: - '100000' X-Ratelimit-Remaining-Hour: - '99998' X-Request-Id: - e934a406-4974-4b93-8860-1e3ec71f023e X-Runtime: - '0.227858' X-Xss-Protection: - 1; mode=block Connection: - keep-alive body: encoding: UTF-8 string: '{"data":{"id":"10.5438","type":"prefixes","attributes":{"registration-agency":"DataCite","updated":"2016-09-21T20:27:15Z"}}}' http_version: recorded_at: Sun, 23 Jul 2017 10:03:45 GMT - request: method: get uri: https://search.test.datacite.org/api?fl=doi,xml,allocator_symbol,datacentre_symbol,media,minted,updated&q=doi:10.5438/mcnv-ga6n&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: - Sun, 23 Jul 2017 10:03:47 GMT Server: - openresty/1.11.2.2 Content-Length: - '2467' Connection: - keep-alive body: encoding: UTF-8 string: '{"responseHeader":{"status":0,"QTime":1},"response":{"numFound":1,"start":0,"docs":[{"datacentre_symbol":"DATACITE.DATACITE","xml":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJlc291cmNlIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtNCIgeHNpOnNjaGVtYUxvY2F0aW9uPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtNCBodHRwOi8vc2NoZW1hLmRhdGFjaXRlLm9yZy9tZXRhL2tlcm5lbC00L21ldGFkYXRhLnhzZCI+CiAgPGlkZW50aWZpZXIgaWRlbnRpZmllclR5cGU9IkRPSSI+MTAuNTQzOC9NQ05WLUdBNk48L2lkZW50aWZpZXI+CiAgPGNyZWF0b3JzPgogICAgPGNyZWF0b3I+CiAgICAgIDxjcmVhdG9yTmFtZT5XaXR0LCBNaWNoYWVsPC9jcmVhdG9yTmFtZT4KICAgICAgPGdpdmVuTmFtZT5NaWNoYWVsPC9naXZlbk5hbWU+CiAgICAgIDxmYW1pbHlOYW1lPldpdHQ8L2ZhbWlseU5hbWU+CiAgICAgIDxuYW1lSWRlbnRpZmllciBzY2hlbWVVUkk9Imh0dHA6Ly9vcmNpZC5vcmcvIiBuYW1lSWRlbnRpZmllclNjaGVtZT0iT1JDSUQiPjAwMDAtMDAwMy00MjIxLTc5NTY8L25hbWVJZGVudGlmaWVyPgogICAgPC9jcmVhdG9yPgogIDwvY3JlYXRvcnM+CiAgPHRpdGxlcz4KICAgIDx0aXRsZT5yZTNkYXRhIFdlYmluYXIgYW5kIERhdGFDaXRlOiBFbiBBdmFudCE8L3RpdGxlPgogIDwvdGl0bGVzPgog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2lsIGZvciBTY2llbmNlIChJQ1NVKS4gQ28tY2hhaXJzIE1pY2hhZWwgV2l0dCBhbmQgRnJhbmsgU2Nob2x6ZSBnYXZlIHRoZSBiYWNrZ3JvdW5kIGFuZCBoaXN0b3J5IG9mIERhdGFiaWIuLi48L2Rlc2NyaXB0aW9uPgogIDwvZGVzY3JpcHRpb25zPgo8L3Jlc291cmNlPgo=","allocator_symbol":"DATACITE","minted":"2016-12-19T15:46:57Z","updated":"2016-12-19T15:46:57Z","doi":"10.5438/MCNV-GA6N"}]}} ' http_version: recorded_at: Sun, 23 Jul 2017 10:03:45 GMT - request: method: head uri: https://doi.test.datacite.org/10.5438/mcnv-ga6n 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: 302 message: Found headers: Access-Control-Allow-Methods: - GET, POST, OPTIONS Access-Control-Allow-Origin: - "*" Content-Type: - text/html; charset=utf-8 Date: - Sun, 23 Jul 2017 10:03:47 GMT Location: - https://blog.datacite.org/re3data-webinar-and-datacite-en-avant/ Server: - openresty/1.11.2.2 Connection: - keep-alive body: encoding: UTF-8 string: '' http_version: recorded_at: Sun, 23 Jul 2017 10:03:46 GMT recorded_with: VCR 3.0.3