--- http_interactions: - request: method: get uri: https://api.datacite.org/prefixes/10.20375 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 10:36:24 GMT Etag: - W/"10fd17ede9662cd6313674701fd1aadb" 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: - '1005' X-Powered-By: - Phusion Passenger 5.1.6 X-Ratelimit-Limit-Hour: - '100000' X-Ratelimit-Remaining-Hour: - '99990' X-Request-Id: - ce7f3b0f-c2ed-4edc-9ce0-e40a8bdeb995 X-Runtime: - '0.365960' X-Xss-Protection: - 1; mode=block Connection: - keep-alive body: encoding: UTF-8 string: '{"data":{"id":"10.20375","type":"prefixes","attributes":{"registration-agency":"DataCite","updated":"2016-09-21T20:25:58Z"}}}' http_version: recorded_at: Wed, 23 Aug 2017 10:36:24 GMT - request: method: get uri: https://search.test.datacite.org/api?fl=doi,xml,allocator_symbol,datacentre_symbol,media,minted,updated&q=doi:10.20375/0000-0001-ddb8-7&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 10:36:24 GMT Server: - openresty/1.11.2.2 Connection: - keep-alive body: encoding: UTF-8 string: '{"responseHeader":{"status":0,"QTime":0},"response":{"numFound":1,"start":0,"docs":[{"datacentre_symbol":"SUBGOE.DARIAH","xml":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/Pgo8cmVzb3VyY2UgeG1sbnM9Imh0dHA6Ly9kYXRhY2l0ZS5vcmcvc2NoZW1hL2tlcm5lbC00IiB4bWxuczp4c2k9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4c2k6c2NoZW1hTG9jYXRpb249Imh0dHA6Ly9kYXRhY2l0ZS5vcmcvc2NoZW1hL2tlcm5lbC00IGh0dHA6Ly9zY2hlbWEuZGF0YWNpdGUub3JnL21ldGEva2VybmVsLTQvbWV0YWRhdGEueHNkIj4KICAgIDxpZGVudGlmaWVyIGlkZW50aWZpZXJUeXBlPSJET0kiPjEwLjIwMzc1LzAwMDAtMDAwMS1EREI4LTc8L2lkZW50aWZpZXI+CiAgICA8Y3JlYXRvcnM+CiAgICAgICAgPGNyZWF0b3I+CiAgICAgICAgICAgIDxjcmVhdG9yTmFtZT5mdTwvY3JlYXRvck5hbWU+CiAgICAgICAgPC9jcmVhdG9yPgogICAgPC9jcmVhdG9ycz4KICAgIDx0aXRsZXM+CiAgICAgICAgPHRpdGxlPklNR18wMTM0LmpwZzwvdGl0bGU+CiAgICA8L3RpdGxlcz4KICAgIDxwdWJsaXNoZXI+REFSSUFILURFPC9wdWJsaXNoZXI+CiAgICA8cHVibGljYXRpb25ZZWFyPjIwMTc8L3B1YmxpY2F0aW9uWWVhcj4KICAgIDxyZXNvdXJjZVR5cGUgcmVzb3VyY2VUeXBlR2VuZXJhbD0iRGF0YXNldCI+RGF0YXNldDwvcmVzb3VyY2VUeXBlPgogICAgPGRhdGVzPgogICAgICAgIDxkYXRlIGRhdGVUeXBlPSJDcmVhdGVkIj4yMDE1LTA2LTIwVDE2OjU0OjM3PC9kYXRlPgogICAgPC9kYXRlcz4KICAgIDxyZWxhdGVkSWRlbnRpZmllcnM+CiAgICAgICAgPHJlbGF0ZWRJZGVudGlmaWVyIHJlbGF0ZWRJZGVudGlmaWVyVHlwZT0iSGFuZGxlIiByZWxhdGlvblR5cGU9IklzSWRlbnRpY2FsVG8iPjIxLlQxMTk5OC8wMDAwLTAwMDEtRERCOC03PC9yZWxhdGVkSWRlbnRpZmllcj4KICAgIDwvcmVsYXRlZElkZW50aWZpZXJzPgogICAgPGZvcm1hdHM+CiAgICAgICAgPGZvcm1hdD5pbWFnZS9qcGVnPC9mb3JtYXQ+CiAgICA8L2Zvcm1hdHM+CiAgICA8cmlnaHRzTGlzdD4KICAgICAgICA8cmlnaHRzPmZyZWU8L3JpZ2h0cz4KICAgIDwvcmlnaHRzTGlzdD4KPC9yZXNvdXJjZT4K","allocator_symbol":"SUBGOE","minted":"2017-08-22T17:29:41Z","updated":"2017-08-22T17:29:41Z","doi":"10.20375/0000-0001-DDB8-7"}]}} ' http_version: recorded_at: Wed, 23 Aug 2017 10:36:24 GMT - request: method: head uri: https://handle.test.datacite.org/10.20375/0000-0001-ddb8-7 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: - Wed, 23 Aug 2017 10:36:24 GMT Location: - https://hdl.handle.net/21.T11998/0000-0001-DDB8-7 Server: - openresty/1.11.2.2 Connection: - keep-alive body: encoding: UTF-8 string: '' http_version: recorded_at: Wed, 23 Aug 2017 10:36:24 GMT recorded_with: VCR 3.0.3