--- 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: - Sat, 22 Jul 2017 16:30:17 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: - '516' X-Powered-By: - Phusion Passenger 5.1.5 X-Ratelimit-Limit-Hour: - '100000' X-Ratelimit-Remaining-Hour: - '99957' X-Request-Id: - 1503094a-4e42-40da-a0de-994047f28420 X-Runtime: - '0.515121' X-Xss-Protection: - 1; mode=block Content-Length: - '124' 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: Sat, 22 Jul 2017 16:30:16 GMT - request: method: get uri: https://search.datacite.org/api?fl=doi,xml,allocator_symbol,datacentre_symbol,media,updated&q=doi:10.5438/4k3m-nyvg&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: - Sat, 22 Jul 2017 16:30:17 GMT Server: - openresty/1.11.2.2 Content-Length: - '3063' 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+MTAuNTQzOC80SzNNLU5ZVkc8L2lkZW50aWZpZXI+CiAgPGNyZWF0b3JzPgogICAgPGNyZWF0b3I+CiAgICAgIDxjcmVhdG9yTmFtZT5GZW5uZXIsIE1hcnRpbjwvY3JlYXRvck5hbWU+CiAgICAgIDxnaXZlbk5hbWU+TWFydGluPC9naXZlbk5hbWU+CiAgICAgIDxmYW1pbHlOYW1lPkZlbm5lcjwvZmFtaWx5TmFtZT4KICAgICAgPG5hbWVJZGVudGlmaWVyIHNjaGVtZVVSST0iaHR0cDovL29yY2lkLm9yZy8iIG5hbWVJZGVudGlmaWVyU2NoZW1lPSJPUkNJRCI+MDAwMC0wMDAzLTE0MTktMjQwNTwvbmFtZUlkZW50aWZpZXI+CiAgICA8L2NyZWF0b3I+CiAgPC9jcmVhdG9ycz4KICA8dGl0bGVzPgogICAgPHRpdGxlPkVhdGluZyB5b3VyIG93biBEb2cgRm9vZDwvdGl0bGU+CiAgPC90aXRsZXM+CiAgPHB1Ymxpc2hlc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FNS1UNUMwPC9yZWxhdGVkSWRlbnRpZmllcj4KICAgIDxyZWxhdGVkSWRlbnRpZmllciByZWxhdGVkSWRlbnRpZmllclR5cGU9IkRPSSIgcmVsYXRpb25UeXBlPSJJc1BhcnRPZiI+MTAuNTQzOC8wMDAwLTAwU1M8L3JlbGF0ZWRJZGVudGlmaWVyPgogIDwvcmVsYXRlZElkZW50aWZpZXJzPgogIDx2ZXJzaW9uPjEuMDwvdmVyc2lvbj4KICA8ZGVzY3JpcHRpb25zPgogICAgPGRlc2NyaXB0aW9uIGRlc2NyaXB0aW9uVHlwZT0iQWJzdHJhY3QiPkVhdGluZyB5b3VyIG93biBkb2cgZm9vZCBpcyBhIHNsYW5nIHRlcm0gdG8gZGVzY3JpYmUgdGhhdCBhbiBvcmdhbml6YXRpb24gc2hvdWxkIGl0c2VsZiB1c2UgdGhlIHByb2R1Y3RzIGFuZCBzZXJ2aWNlcyBpdCBwcm92aWRlcy4gRm9yIERhdGFDaXRlIHRoaXMgbWVhbnMgdGhhdCB3ZSBzaG91bGQgdXNlIERPSXMgd2l0aCBhcHByb3ByaWF0ZSBtZXRhZGF0YSBhbmQgc3RyYXRlZ2llcyBmb3IgbG9uZy10ZXJtIHByZXNlcnZhdGlvbiBmb3IuLi48L2Rlc2NyaXB0aW9uPgogIDwvZGVzY3JpcHRpb25zPgo8L3Jlc291cmNlPgo=","allocator_symbol":"DATACITE","updated":"2017-01-09T13:53:12Z","doi":"10.5438/4K3M-NYVG","media":["application/xml:https://blog.datacite.org/eating-your-own-dog-food/eating-your-own-dog-food.xml"]}]}} ' http_version: recorded_at: Sat, 22 Jul 2017 16:30:16 GMT - request: method: head uri: https://doi.org/10.5438/4k3m-nyvg 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: - https://blog.datacite.org/eating-your-own-dog-food/ Expires: - Sat, 22 Jul 2017 17:22:09 GMT Content-Type: - text/html;charset=utf-8 Content-Length: - '187' Date: - Sat, 22 Jul 2017 16:30:17 GMT body: encoding: UTF-8 string: '' http_version: recorded_at: Sat, 22 Jul 2017 16:30:17 GMT - request: method: get uri: https://api.datacite.org/prefixes/10.0137 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: 404 message: Not Found 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: - "*" Cache-Control: - no-cache Content-Type: - application/json; charset=utf-8 Date: - Sat, 22 Jul 2017 16:30:18 GMT Server: - openresty/1.11.2.2 Status: - 404 Not Found 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: - '368' X-Powered-By: - Phusion Passenger 5.1.5 X-Ratelimit-Limit-Hour: - '100000' X-Ratelimit-Remaining-Hour: - '99956' X-Request-Id: - 65f921d3-6898-4e7e-ba7b-966b38525c9d X-Runtime: - '0.366211' X-Xss-Protection: - 1; mode=block Content-Length: - '83' Connection: - keep-alive body: encoding: UTF-8 string: '{"errors":[{"status":"404","title":"The page you are looking for doesn''t exist."}]}' http_version: recorded_at: Sat, 22 Jul 2017 16:30:17 GMT recorded_with: VCR 3.0.3