diff --git a/Gemfile b/Gemfile index c8e28d0..d66e01e 100644 --- a/Gemfile +++ b/Gemfile @@ -7,7 +7,7 @@ gem "oj_mimic_json", "~> 1.0", ">= 1.0.1" gem "equivalent-xml", "~> 0.6.0" gem "nokogiri", ">= 1.10.8" gem "iso8601", "~> 0.9.0" -gem "maremma", ">= 4.1" +gem "maremma", "4.6.1" gem "faraday", "0.17.0" gem "bolognese", "~> 1.0", ">= 1.4" gem "dalli", "~> 2.7.6" diff --git a/Gemfile.lock b/Gemfile.lock index e84d280..539f447 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -169,7 +169,7 @@ GEM mini_mime (>= 0.1.1) marcel (0.3.3) mimemagic (~> 0.3.2) - maremma (4.7) + maremma (4.6.1) activesupport (>= 4.2.5) addressable (>= 2.3.6) builder (~> 3.2, >= 3.2.2) @@ -351,7 +351,7 @@ DEPENDENCIES lograge (~> 0.11.2) logstash-event (~> 1.2, >= 1.2.02) logstash-logger (~> 0.26.1) - maremma (>= 4.1) + maremma (= 4.6.1) nokogiri (>= 1.10.8) oj (>= 3.1.0) oj_mimic_json (~> 1.0, >= 1.0.1) diff --git a/app/controllers/index_controller.rb b/app/controllers/index_controller.rb index b37e1ef..26147f8 100644 --- a/app/controllers/index_controller.rb +++ b/app/controllers/index_controller.rb @@ -9,7 +9,7 @@ def index def show url = "#{ENV['API_URL']}/dois/#{@doi}" - response = Maremma.get(url, accept: "application/vnd.datacite.datacite+json", raw: true) + response = Maremma.get(url, accept: "application/vnd.datacite.datacite+json", raw: true, headers: { "Accept-Encoding"=> "gzip" }) if response.status == 200 @metadata = Bolognese::Metadata.new(input: response.body.fetch("data", nil), from: "datacite_json") diff --git a/spec/fixtures/vcr_cassettes/content_negotiation/application/ld_json/header.yml b/spec/fixtures/vcr_cassettes/content_negotiation/application/ld_json/header.yml index 509e627..f6405b1 100644 --- a/spec/fixtures/vcr_cassettes/content_negotiation/application/ld_json/header.yml +++ b/spec/fixtures/vcr_cassettes/content_negotiation/application/ld_json/header.yml @@ -8,16 +8,18 @@ http_interactions: string: '' headers: User-Agent: - - Mozilla/5.0 (compatible; Maremma/4.6; mailto:info@datacite.org) + - Mozilla/5.0 (compatible; Maremma/4.6.1; mailto:info@datacite.org) Accept: - application/vnd.datacite.datacite+json + Accept-Encoding: + - gzip response: status: code: 200 message: OK headers: Date: - - Wed, 25 Mar 2020 20:00:23 GMT + - Fri, 08 May 2020 13:41:50 GMT Content-Type: - application/vnd.datacite.datacite+json; charset=utf-8 Connection: @@ -30,12 +32,14 @@ http_interactions: - max-age=0, private, must-revalidate Vary: - Accept-Encoding, Origin + Content-Encoding: + - gzip X-Request-Id: - - 43471b5a-7e22-4df6-9f4c-95b355edd12d + - 7cba5bec-5de9-4619-a0fa-240db9efa257 Etag: - - W/"37fcf41a8fbf601eac15785399ed4c78" + - W/"0280c56c895a024ebdebe3999233c4a3" X-Runtime: - - '0.021904' + - '0.022223' X-Powered-By: - Phusion Passenger 6.0.4 Server: @@ -43,7 +47,7 @@ http_interactions: body: encoding: ASCII-8BIT string: !binary |- - ewogICJpZCI6ICJodHRwczovL2RvaS5vcmcvMTAuMTQ0NTQvY25lNy1hcjMxIiwKICAiZG9pIjogIjEwLjE0NDU0L0NORTctQVIzMSIsCiAgInVybCI6ICJodHRwczovL2Jsb2cuZGF0YWNpdGUub3JnL2Fubm91bmNpbmctc2NoZW1hLTQtMi8iLAogICJ0eXBlcyI6IHsKICAgICJyaXMiOiAiR0VOIiwKICAgICJiaWJ0ZXgiOiAiYXJ0aWNsZSIsCiAgICAiY2l0ZXByb2MiOiAicG9zdC13ZWJsb2ciLAogICAgInNjaGVtYU9yZyI6ICJCbG9nUG9zdGluZyIsCiAgICAicmVzb3VyY2VUeXBlR2VuZXJhbCI6ICJUZXh0IgogIH0sCiAgImNyZWF0b3JzIjogWwogICAgewogICAgICAibmFtZSI6ICJEYXNsZXIsIFJvYmluIiwKICAgICAgIm5hbWVUeXBlIjogIlBlcnNvbmFsIiwKICAgICAgImdpdmVuTmFtZSI6ICJSb2JpbiIsCiAgICAgICJmYW1pbHlOYW1lIjogIkRhc2xlciIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEYXRhQ2l0ZSIsCiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vcm9yLm9yZyIsCiAgICAgICAgICAiYWZmaWxpYXRpb25JZGVudGlmaWVyIjogImh0dHBzOi8vcm9yLm9yZy8wNHd4bnNqODEiLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllclNjaGVtZSI6ICJST1IiCiAgICAgICAgfQogICAgICBdLAogICAgICAibmFtZUlkZW50aWZpZXJzIjogWwogICAgICAgIHsKICAgICAgICAgICJzY2hlbWVVcmkiOiAiaHR0cHM6Ly9vcmNpZC5vcmciLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyIjogImh0dHBzOi8vb3JjaWQub3JnLzAwMDAtMDAwMi00Njk1LTc4NzQiLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyU2NoZW1lIjogIk9SQ0lEIgogICAgICAgIH0KICAgICAgXQogICAgfSwKICAgIHsKICAgICAgIm5hbWUiOiAiZGUgU21hZWxlLCBNYWRlbGVpbmUiLAogICAgICAibmFtZVR5cGUiOiAiUGVyc29uYWwiLAogICAgICAiZ2l2ZW5OYW1lIjogIk1hZGVsZWluZSIsCiAgICAgICJmYW1pbHlOYW1lIjogImRlIFNtYWVsZSIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEZWxmdCBVbml2ZXJzaXR5IG9mIFRlY2hub2xvZ3kiLAogICAgICAgICAgInNjaGVtZVVyaSI6ICJodHRwczovL3Jvci5vcmciLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllciI6ICJodHRwczovL3Jvci5vcmcvMDJlMmM3azA5IiwKICAgICAgICAgICJhZmZpbGlhdGlvbklkZW50aWZpZXJTY2hlbWUiOiAiUk9SIgogICAgICAgIH0KICAgICAgXSwKICAgICAgIm5hbWVJZGVudGlmaWVycyI6IFsKICAgICAgICB7CiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vb3JjaWQub3JnIiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllciI6ICJodHRwczovL29yY2lkLm9yZy8wMDAwLTAwMDItODk2My0zNDE1IiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllclNjaGVtZSI6ICJPUkNJRCIKICAgICAgICB9CiAgICAgIF0KICAgIH0KICBdLAogICJ0aXRsZXMiOiBbCiAgICB7CiAgICAgICJsYW5nIjogbnVsbCwKICAgICAgInRpdGxlIjogIkFubm91bmNpbmcgc2NoZW1hIDQuMiIsCiAgICAgICJ0aXRsZVR5cGUiOiBudWxsCiAgICB9CiAgXSwKICAicHVibGlzaGVyIjogIkRhdGFDaXRlIiwKICAiY29udGFpbmVyIjoge30sCiAgInN1YmplY3RzIjogWwogICAgewogICAgICAic3ViamVjdCI6ICJmZWF0dXJlZCIKICAgIH0KICBdLAogICJjb250cmlidXRvcnMiOiBbXSwKICAiZGF0ZXMiOiBbCiAgICB7CiAgICAgICJkYXRlIjogIjIwMTktMDMtMjBUMDc6MTc6NTIuNzkyWiIsCiAgICAgICJkYXRlVHlwZSI6ICJJc3N1ZWQiCiAgICB9LAogICAgewogICAgICAiZGF0ZSI6ICIyMDE5LTAzLTIwVDA3OjE3OjUyLjc5MloiLAogICAgICAiZGF0ZVR5cGUiOiAiQ3JlYXRlZCIKICAgIH0sCiAgICB7CiAgICAgICJkYXRlIjogIjIwMTktMDMtMjBUMDc6MTc6NTIuNzkyWiIsCiAgICAgICJkYXRlVHlwZSI6ICJVcGRhdGVkIgogICAgfQogIF0sCiAgInB1YmxpY2F0aW9uWWVhciI6IDIwMTksCiAgImlkZW50aWZpZXJzIjogWwogICAgewogICAgICAiaWRlbnRpZmllciI6ICJodHRwczovL2RvaS5vcmcvMTAuMTQ0NT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2rUm/7eYopUmaP912DcHLoa2jNwntMi2thrvFhtcwPAV+xVI+/aTI5rfuWMW382y+pt0nr+JfLxXEZZe/5/SBK1z7dO7X9qCxBw3vQEkRY3tABvgcfUOF64d+3Nb7qQYJj7K4l6kLoGiTbv25fxlanM+cyc2oJTl6+AwAA//8DAE8N/mVICwAA http_version: - recorded_at: Wed, 25 Mar 2020 20:00:23 GMT + recorded_at: Fri, 08 May 2020 13:41:50 GMT recorded_with: VCR 3.0.3 diff --git a/spec/fixtures/vcr_cassettes/content_negotiation/application/ld_json/link.yml b/spec/fixtures/vcr_cassettes/content_negotiation/application/ld_json/link.yml index e369ebd..12f6c6f 100644 --- a/spec/fixtures/vcr_cassettes/content_negotiation/application/ld_json/link.yml +++ b/spec/fixtures/vcr_cassettes/content_negotiation/application/ld_json/link.yml @@ -8,16 +8,18 @@ http_interactions: string: '' headers: User-Agent: - - Mozilla/5.0 (compatible; Maremma/4.6; mailto:info@datacite.org) + - Mozilla/5.0 (compatible; Maremma/4.6.1; mailto:info@datacite.org) Accept: - application/vnd.datacite.datacite+json + Accept-Encoding: + - gzip response: status: code: 200 message: OK headers: Date: - - Wed, 25 Mar 2020 20:00:23 GMT + - Fri, 08 May 2020 13:41:50 GMT Content-Type: - application/vnd.datacite.datacite+json; charset=utf-8 Connection: @@ -30,12 +32,14 @@ http_interactions: - max-age=0, private, must-revalidate Vary: - Accept-Encoding, Origin + Content-Encoding: + - gzip X-Request-Id: - - 673e66b4-4c9d-4da6-9659-2e9a8010a6e4 + - 18dfb56f-0e15-41f0-af34-4042342b3a46 Etag: - - W/"37fcf41a8fbf601eac15785399ed4c78" + - W/"0280c56c895a024ebdebe3999233c4a3" X-Runtime: - - '0.021604' + - '0.021386' X-Powered-By: - Phusion Passenger 6.0.4 Server: @@ -43,7 +47,7 @@ http_interactions: body: encoding: ASCII-8BIT string: !binary |- - ewogICJpZCI6ICJodHRwczovL2RvaS5vcmcvMTAuMTQ0NTQvY25lNy1hcjMxIiwKICAiZG9pIjogIjEwLjE0NDU0L0NORTctQVIzMSIsCiAgInVybCI6ICJodHRwczovL2Jsb2cuZGF0YWNpdGUub3JnL2Fubm91bmNpbmctc2NoZW1hLTQtMi8iLAogICJ0eXBlcyI6IHsKICAgICJyaXMiOiAiR0VOIiwKICAgICJiaWJ0ZXgiOiAiYXJ0aWNsZSIsCiAgICAiY2l0ZXByb2MiOiAicG9zdC13ZWJsb2ciLAogICAgInNjaGVtYU9yZyI6ICJCbG9nUG9zdGluZyIsCiAgICAicmVzb3VyY2VUeXBlR2VuZXJhbCI6ICJUZXh0IgogIH0sCiAgImNyZWF0b3JzIjogWwogICAgewogICAgICAibmFtZSI6ICJEYXNsZXIsIFJvYmluIiwKICAgICAgIm5hbWVUeXBlIjogIlBlcnNvbmFsIiwKICAgICAgImdpdmVuTmFtZSI6ICJSb2JpbiIsCiAgICAgICJmYW1pbHlOYW1lIjogIkRhc2xlciIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEYXRhQ2l0ZSIsCiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vcm9yLm9yZyIsCiAgICAgICAgICAiYWZmaWxpYXRpb25JZGVudGlmaWVyIjogImh0dHBzOi8vcm9yLm9yZy8wNHd4bnNqODEiLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllclNjaGVtZSI6ICJST1IiCiAgICAgICAgfQogICAgICBdLAogICAgICAibmFtZUlkZW50aWZpZXJzIjogWwogICAgICAgIHsKICAgICAgICAgICJzY2hlbWVVcmkiOiAiaHR0cHM6Ly9vcmNpZC5vcmciLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyIjogImh0dHBzOi8vb3JjaWQub3JnLzAwMDAtMDAwMi00Njk1LTc4NzQiLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyU2NoZW1lIjogIk9SQ0lEIgogICAgICAgIH0KICAgICAgXQogICAgfSwKICAgIHsKICAgICAgIm5hbWUiOiAiZGUgU21hZWxlLCBNYWRlbGVpbmUiLAogICAgICAibmFtZVR5cGUiOiAiUGVyc29uYWwiLAogICAgICAiZ2l2ZW5OYW1lIjogIk1hZGVsZWluZSIsCiAgICAgICJmYW1pbHlOYW1lIjogImRlIFNtYWVsZSIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEZWxmdCBVbml2ZXJzaXR5IG9mIFRlY2hub2xvZ3kiLAogICAgICAgICAgInNjaGVtZVVyaSI6ICJodHRwczovL3Jvci5vcmciLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllciI6ICJodHRwczovL3Jvci5vcmcvMDJlMmM3azA5IiwKICAgICAgICAgICJhZmZpbGlhdGlvbklkZW50aWZpZXJTY2hlbWUiOiAiUk9SIgogICAgICAgIH0KICAgICAgXSwKICAgICAgIm5hbWVJZGVudGlmaWVycyI6IFsKICAgICAgICB7CiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vb3JjaWQub3JnIiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllciI6ICJodHRwczovL29yY2lkLm9yZy8wMDAwLTAwMDItODk2My0zNDE1IiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllclNjaGVtZSI6ICJPUkNJRCIKICAgICAgICB9CiAgICAgIF0KICAgIH0KICBdLAogICJ0aXRsZXMiOiBbCiAgICB7CiAgICAgICJsYW5nIjogbnVsbCwKICAgICAgInRpdGxlIjogIkFubm91bmNpbmcgc2NoZW1hIDQuMiIsCiAgICAgICJ0aXRsZVR5cGUiOiBudWxsCiAgICB9CiAgXSwKICAicHVibGlzaGVyIjogIkRhdGFDaXRlIiwKICAiY29udGFpbmVyIjoge30sCiAgInN1YmplY3RzIjogWwogICAgewogICAgICAic3ViamVjdCI6ICJmZWF0dXJlZCIKICAgIH0KICBdLAogICJjb250cmlidXRvcnMiOiBbXSwKICAiZGF0ZXMiOiBbCiAgICB7CiA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MJJMpq+h8hOquICy62Anr4lqHQdURZCNIvgsY77vGnUpGyfJInGQRdXqdERHIXcFangZlNW3Ok9AVPSUpSmMz2XrdUU6VdgtifFyuJYcmy/hYYsOArl+DRPi7o3l7N46fSV7KYd2TgezcN4Eo7jVTw7G83OpuNoNh//eSjQIevTtjCmaAIP3oPxwl0m70t5t8talN2dYP5M/AHULbqjHZQ3f0fsJd4faN8CglEUl1um+XpjzWdubPt2dnMd+VRz5cGoRFFucAaGab5zSfygDlse/ireAKllRL6Ape5RQW5LYXJDLNpTavBfrrQfbWvQXhUEZbTllljVkERkgWMQwniA86APlAuaCiC4JCIzhMqMGKsL5nTniRGqD8wamNKZGXggt9/++deQxw215BHIAxXc7QehaxS78bG39B4wFeQCXOW93bjDhSlTg97EbFQhMpJiaqtW/lEUBX2rUm/7eYopUmaP912DcHLoa2jNwntMi2thrvFhtcwPAV+xVI+/aTI5rfuWMW382y+pt0nr+JfLxXEZZe/5/SBK1z7dO7X9qCxBw3vQEkRY3tABvgcfUOF64d+3Nb7qQYJj7K4l6kLoGiTbv25fxlanM+cyc2oJTl6+AwAA//8DAE8N/mVICwAA http_version: - recorded_at: Wed, 25 Mar 2020 20:00:23 GMT + recorded_at: Fri, 08 May 2020 13:41:50 GMT recorded_with: VCR 3.0.3 diff --git a/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_citationstyles_csl_json/header.yml b/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_citationstyles_csl_json/header.yml index 5e26509..aaf726b 100644 --- a/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_citationstyles_csl_json/header.yml +++ b/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_citationstyles_csl_json/header.yml @@ -8,16 +8,18 @@ http_interactions: string: '' headers: User-Agent: - - Mozilla/5.0 (compatible; Maremma/4.4; mailto:info@datacite.org) + - Mozilla/5.0 (compatible; Maremma/4.6.1; mailto:info@datacite.org) Accept: - application/vnd.datacite.datacite+json + Accept-Encoding: + - gzip response: status: code: 200 - message: '' + message: OK headers: Date: - - Sun, 15 Dec 2019 22:41:01 GMT + - Fri, 08 May 2020 13:41:50 GMT Content-Type: - application/vnd.datacite.datacite+json; charset=utf-8 Connection: @@ -30,20 +32,22 @@ http_interactions: - max-age=0, private, must-revalidate Vary: - Accept-Encoding, Origin + Content-Encoding: + - gzip X-Request-Id: - - 61445159-bc29-4412-bd89-630a4a4fa985 + - 8200d084-e59a-4fdc-ab18-d2adbed72500 Etag: - - W/"37fcf41a8fbf601eac15785399ed4c78" + - W/"0280c56c895a024ebdebe3999233c4a3" X-Runtime: - - '0.012952' + - '0.021262' X-Powered-By: - Phusion Passenger 6.0.4 Server: - - nginx/1.17.3 + Phusion Passenger 6.0.4 + - nginx/1.14.0 + Phusion Passenger 6.0.4 body: encoding: ASCII-8BIT string: !binary |- - ewogICJpZCI6ICJodHRwczovL2RvaS5vcmcvMTAuMTQ0NTQvY25lNy1hcjMxIiwKICAiZG9pIjogIjEwLjE0NDU0L0NORTctQVIzMSIsCiAgInVybCI6ICJodHRwczovL2Jsb2cuZGF0YWNpdGUub3JnL2Fubm91bmNpbmctc2NoZW1hLTQtMi8iLAogICJ0eXBlcyI6IHsKICAgICJyaXMiOiAiR0VOIiwKICAgICJiaWJ0ZXgiOiAiYXJ0aWNsZSIsCiAgICAiY2l0ZXByb2MiOiAicG9zdC13ZWJsb2ciLAogICAgInNjaGVtYU9yZyI6ICJCbG9nUG9zdGluZyIsCiAgICAicmVzb3VyY2VUeXBlR2VuZXJhbCI6ICJUZXh0IgogIH0sCiAgImNyZWF0b3JzIjogWwogICAgewogICAgICAibmFtZSI6ICJEYXNsZXIsIFJvYmluIiwKICAgICAgIm5hbWVUeXBlIjogIlBlcnNvbmFsIiwKICAgICAgImdpdmVuTmFtZSI6ICJSb2JpbiIsCiAgICAgICJmYW1pbHlOYW1lIjogIkRhc2xlciIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEYXRhQ2l0ZSIsCiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vcm9yLm9yZyIsCiAgICAgICAgICAiYWZmaWxpYXRpb25JZGVudGlmaWVyIjogImh0dHBzOi8vcm9yLm9yZy8wNHd4bnNqODEiLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllclNjaGVtZSI6ICJST1IiCiAgICAgICAgfQogICAgICBdLAogICAgICAibmFtZUlkZW50aWZpZXJzIjogWwogICAgICAgIHsKICAgICAgICAgICJzY2hlbWVVcmkiOiAiaHR0cHM6Ly9vcmNpZC5vcmciLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyIjogImh0dHBzOi8vb3JjaWQub3JnLzAwMDAtMDAwMi00Njk1LTc4NzQiLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyU2NoZW1lIjogIk9SQ0lEIgogICAgICAgIH0KICAgICAgXQogICAgfSwKICAgIHsKICAgICAgIm5hbWUiOiAiZGUgU21hZWxlLCBNYWRlbGVpbmUiLAogICAgICAibmFtZVR5cGUiOiAiUGVyc29uYWwiLAogICAgICAiZ2l2ZW5OYW1lIjogIk1hZGVsZWluZSIsCiAgICAgICJmYW1pbHlOYW1lIjogImRlIFNtYWVsZSIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEZWxmdCBVbml2ZXJzaXR5IG9mIFRlY2hub2xvZ3kiLAogICAgICAgICAgInNjaGVtZVVyaSI6ICJodHRwczovL3Jvci5vcmciLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllciI6ICJodHRwczovL3Jvci5vcmcvMDJlMmM3azA5IiwKICAgICAgICAgICJhZmZpbGlhdGlvbklkZW50aWZpZXJTY2hlbWUiOiAiUk9SIgogICAgICAgIH0KICAgICAgXSwKICAgICAgIm5hbWVJZGVudGlmaWVycyI6IFsKICAgICAgICB7CiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vb3JjaWQub3JnIiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllciI6ICJodHRwczovL29yY2lkLm9yZy8wMDAwLTAwMDItODk2My0zNDE1IiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllclNjaGVtZSI6ICJPUkNJRCIKICAgICAgICB9CiAgICAgIF0KICAgIH0KICBdLAogICJ0aXRsZXMiOiBbCiAgICB7CiAgICAgICJsYW5nIjogbnVsbCwKICAgICAgInRpdGxlIjogIkFubm91bmNpbmcgc2NoZW1hIDQuMiIsCiAgICAgICJ0aXRsZVR5cGUiOiBudWxsCiAgICB9CiAgXSwKICAicHVibGlzaGVyIjogIkRhdGFDaXRlIiwKICAiY29udGFpbmVyIjoge30sCiAgInN1YmplY3RzIjogWwogICAgewogICAgICAic3ViamVjdCI6ICJmZWF0dXJlZCIKICAgIH0KICBdLAogICJjb250cmlidXRvcnMiOiBbXSwKICAiZGF0ZXMiOiBbCiAgICB7CiAgICAgICJkYXRlIjogIjIwMTktMDMtMjBUMDc6MTc6NTIuNzkyWiIsCiAgICAgICJkYXRlVHlwZSI6ICJJc3N1ZWQiCiAgICB9LAogICAgewogICAgICAiZGF0ZSI6ICIyMDE5LTAzLTIwVDA3OjE3OjUyLjc5MloiLAogICAgICAiZGF0ZVR5cGUiOiAiQ3JlYXRlZCIKICAgIH0sCiAgICB7CiAgICAgICJkYXRlIjogIjIwMTktMDMtMjBUMDc6MTc6NTIuNzkyWiIsCiAgICAgICJkYXRlVHlwZSI6ICJVcGRhdGVkIgogICAgfQogIF0sCiAgInB1YmxpY2F0aW9uWWVhciI6IDIwMTksCiAgImlkZW50aWZpZXJzIjogWwogICAgewogICAgICAiaWRlbnRpZmllciI6ICJodHRwczovL2RvaS5vcmcvMTAuMTQ0NTQvY25lNy1hcjMxIiwKICAgICAgImlkZW50aWZpZXJUeXBlIjogIkRPSSIKICAgIH0KICBdLAogICJ2ZXJzaW9uIjogIjEuMCIsCiAgInJpZ2h0c0xpc3QiOiB7CiAgICAic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Jj7K4l6kLoGiTbv25fxlanM+cyc2oJTl6+AwAA//8DAE8N/mVICwAA http_version: - recorded_at: Sun, 15 Dec 2019 22:41:01 GMT + recorded_at: Fri, 08 May 2020 13:41:50 GMT recorded_with: VCR 3.0.3 diff --git a/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_citationstyles_csl_json/link.yml b/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_citationstyles_csl_json/link.yml index b0ba5b3..8c4b6cf 100644 --- a/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_citationstyles_csl_json/link.yml +++ b/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_citationstyles_csl_json/link.yml @@ -8,16 +8,18 @@ http_interactions: string: '' headers: User-Agent: - - Mozilla/5.0 (compatible; Maremma/4.4; mailto:info@datacite.org) + - Mozilla/5.0 (compatible; Maremma/4.6.1; mailto:info@datacite.org) Accept: - application/vnd.datacite.datacite+json + Accept-Encoding: + - gzip response: status: code: 200 - message: '' + message: OK headers: Date: - - Sun, 15 Dec 2019 22:41:01 GMT + - Fri, 08 May 2020 13:41:50 GMT Content-Type: - application/vnd.datacite.datacite+json; charset=utf-8 Connection: @@ -30,20 +32,22 @@ http_interactions: - max-age=0, private, must-revalidate Vary: - Accept-Encoding, Origin + Content-Encoding: + - gzip X-Request-Id: - - 9b93d3f8-d177-4576-8c5d-a5a995d49d39 + - 1a35a7d0-a59c-4a4b-976f-dd8d4c102f24 Etag: - - W/"37fcf41a8fbf601eac15785399ed4c78" + - W/"0280c56c895a024ebdebe3999233c4a3" X-Runtime: - - '0.012824' + - '0.041684' X-Powered-By: - Phusion Passenger 6.0.4 Server: - - nginx/1.17.3 + Phusion Passenger 6.0.4 + - nginx/1.14.0 + Phusion Passenger 6.0.4 body: encoding: ASCII-8BIT string: !binary |- - ewogICJpZCI6ICJodHRwczovL2RvaS5vcmcvMTAuMTQ0NTQvY25lNy1hcjMxIiwKICAiZG9pIjogIjEwLjE0NDU0L0NORTctQVIzMSIsCiAgInVybCI6ICJodHRwczovL2Jsb2cuZGF0YWNpdGUub3JnL2Fubm91bmNpbmctc2NoZW1hLTQtMi8iLAogICJ0eXBlcyI6IHsKICAgICJyaXMiOiAiR0VOIiwKICAgICJiaWJ0ZXgiOiAiYXJ0aWNsZSIsCiAgICAiY2l0ZXByb2MiOiAicG9zdC13ZWJsb2ciLAogICAgInNjaGVtYU9yZyI6ICJCbG9nUG9zdGluZyIsCiAgICAicmVzb3VyY2VUeXBlR2VuZXJhbCI6ICJUZXh0IgogIH0sCiAgImNyZWF0b3JzIjogWwogICAgewogICAgICAibmFtZSI6ICJEYXNsZXIsIFJvYmluIiwKICAgICAgIm5hbWVUeXBlIjogIlBlcnNvbmFsIiwKICAgICAgImdpdmVuTmFtZSI6ICJSb2JpbiIsCiAgICAgICJmYW1pbHlOYW1lIjogIkRhc2xlciIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEYXRhQ2l0ZSIsCiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vcm9yLm9yZyIsCiAgICAgICAgICAiYWZmaWxpYXRpb25JZGVudGlmaWVyIjogImh0dHBzOi8vcm9yLm9yZy8wNHd4bnNqODEiLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllclNjaGVtZSI6ICJST1IiCiAgICAgICAgfQogICAgICBdLAogICAgICAibmFtZUlkZW50aWZpZXJzIjogWwogICAgICAgIHsKICAgICAgICAgICJzY2hlbWVVcmkiOiAiaHR0cHM6Ly9vcmNpZC5vcmciLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyIjogImh0dHBzOi8vb3JjaWQub3JnLzAwMDAtMDAwMi00Njk1LTc4NzQiLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyU2NoZW1lIjogIk9SQ0lEIgogICAgICAgIH0KICAgICAgXQogICAgfSwKICAgIHsKICAgICAgIm5hbWUiOiAiZGUgU21hZWxlLCBNYWRlbGVpbmUiLAogICAgICAibmFtZVR5cGUiOiAiUGVyc29uYWwiLAogICAgICAiZ2l2ZW5OYW1lIjogIk1hZGVsZWluZSIsCiAgICAgICJmYW1pbHlOYW1lIjogImRlIFNtYWVsZSIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEZWxmdCBVbml2ZXJzaXR5IG9mIFRlY2hub2xvZ3kiLAogICAgICAgICAgInNjaGVtZVVyaSI6ICJodHRwczovL3Jvci5vcmciLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllciI6ICJodHRwczovL3Jvci5vcmcvMDJlMmM3azA5IiwKICAgICAgICAgICJhZmZpbGlhdGlvbklkZW50aWZpZXJTY2hlbWUiOiAiUk9SIgogICAgICAgIH0KICAgICAgXSwKICAgICAgIm5hbWVJZGVudGlmaWVycyI6IFsKICAgICAgICB7CiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vb3JjaWQub3JnIiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllciI6ICJodHRwczovL29yY2lkLm9yZy8wMDAwLTAwMDItODk2My0zNDE1IiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllclNjaGVtZSI6ICJPUkNJRCIKICAgICAgICB9CiAgICAgIF0KICAgIH0KICBdLAogICJ0aXRsZXMiOiBbCiAgICB7CiAgICAgICJsYW5nIjogbnVsbCwKICAgICAgInRpdGxlIjogIkFubm91bmNpbmcgc2NoZW1hIDQuMiIsCiAgICAgICJ0aXRsZVR5cGUiOiBudWxsCiAgICB9CiAgXSwKICAicHVibGlzaGVyIjogIkRhdGFDaXRlIiwKICAiY29udGFpbmVyIjoge30sCiAgInN1YmplY3RzIjogWwogICAgewogICAgICAic3ViamVjdCI6ICJmZWF0dXJlZCIKICAgIH0KICBdLAogICJjb250cmlidXRvcnMiOiBbXSwKICAiZGF0ZXMiOiBbCiAgICB7CiAgICAgICJkYXRlIjogIjIwMTktMDMtMjBUMDc6M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vGnUpGyfJInGQRdXqdERHIXcFangZlNW3Ok9AVPSUpSmMz2XrdUU6VdgtifFyuJYcmy/hYYsOArl+DRPi7o3l7N46fSV7KYd2TgezcN4Eo7jVTw7G83OpuNoNh//eSjQIevTtjCmaAIP3oPxwl0m70t5t8talN2dYP5M/AHULbqjHZQ3f0fsJd4faN8CglEUl1um+XpjzWdubPt2dnMd+VRz5cGoRFFucAaGab5zSfygDlse/ireAKllRL6Ape5RQW5LYXJDLNpTavBfrrQfbWvQXhUEZbTllljVkERkgWMQwniA86APlAuaCiC4JCIzhMqMGKsL5nTniRGqD8wamNKZGXggt9/++deQxw215BHIAxXc7QehaxS78bG39B4wFeQCXOW93bjDhSlTg97EbFQhMpJiaqtW/lEUBX2rUm/7eYopUmaP912DcHLoa2jNwntMi2thrvFhtcwPAV+xVI+/aTI5rfuWMW382y+pt0nr+JfLxXEZZe/5/SBK1z7dO7X9qCxBw3vQEkRY3tABvgcfUOF64d+3Nb7qQYJj7K4l6kLoGiTbv25fxlanM+cyc2oJTl6+AwAA//8DAE8N/mVICwAA http_version: - recorded_at: Sun, 15 Dec 2019 22:41:01 GMT + recorded_at: Fri, 08 May 2020 13:41:50 GMT recorded_with: VCR 3.0.3 diff --git a/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_datacite_datacite_json/header.yml b/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_datacite_datacite_json/header.yml index f391420..ff76445 100644 --- a/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_datacite_datacite_json/header.yml +++ b/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_datacite_datacite_json/header.yml @@ -8,16 +8,18 @@ http_interactions: string: '' headers: User-Agent: - - Mozilla/5.0 (compatible; Maremma/4.4; mailto:info@datacite.org) + - Mozilla/5.0 (compatible; Maremma/4.6.1; mailto:info@datacite.org) Accept: - application/vnd.datacite.datacite+json + Accept-Encoding: + - gzip response: status: code: 200 - message: '' + message: OK headers: Date: - - Sun, 15 Dec 2019 22:41:00 GMT + - Fri, 08 May 2020 13:41:49 GMT Content-Type: - application/vnd.datacite.datacite+json; charset=utf-8 Connection: @@ -30,20 +32,22 @@ http_interactions: - max-age=0, private, must-revalidate Vary: - Accept-Encoding, Origin + Content-Encoding: + - gzip X-Request-Id: - - 91fcfca8-39ae-4ba7-894e-bbbe93ae7880 + - 5965a8ef-47d8-4e74-9e81-f30853277c11 Etag: - - W/"37fcf41a8fbf601eac15785399ed4c78" + - W/"100a43851d5c8670f04070b4ec636502" X-Runtime: - - '0.013145' + - '0.028666' X-Powered-By: - Phusion Passenger 6.0.4 Server: - - nginx/1.17.3 + Phusion Passenger 6.0.4 + - nginx/1.14.0 + Phusion Passenger 6.0.4 body: encoding: ASCII-8BIT string: !binary |- - ewogICJpZCI6ICJodHRwczovL2RvaS5vcmcvMTAuMTQ0NTQvY25lNy1hcjMxIiwKICAiZG9pIjogIjEwLjE0NDU0L0NORTctQVIzMSIsCiAgInVybCI6ICJodHRwczovL2Jsb2cuZGF0YWNpdGUub3JnL2Fubm91bmNpbmctc2NoZW1hLTQtMi8iLAogICJ0eXBlcyI6IHsKICAgICJyaXMiOiAiR0VOIiwKICAgICJiaWJ0ZXgiOiAiYXJ0aWNsZSIsCiAgICAiY2l0ZXByb2MiOiAicG9zdC13ZWJsb2ciLAogICAgInNjaGVtYU9yZyI6ICJCbG9nUG9zdGluZyIsCiAgICAicmVzb3VyY2VUeXBlR2VuZXJhbCI6ICJUZXh0IgogIH0sCiAgImNyZWF0b3JzIjogWwogICAgewogICAgICAibmFtZSI6ICJEYXNsZXIsIFJvYmluIiwKICAgICAgIm5hbWVUeXBlIjogIlBlcnNvbmFsIiwKICAgICAgImdpdmVuTmFtZSI6ICJSb2JpbiIsCiAgICAgICJmYW1pbHlOYW1lIjogIkRhc2xlciIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEYXRhQ2l0ZSIsCiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vcm9yLm9yZyIsCiAgICAgICAgICAiYWZmaWxpYXRpb25JZGVudGlmaWVyIjogImh0dHBzOi8vcm9yLm9yZy8wNHd4bnNqODEiLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllclNjaGVtZSI6ICJST1IiCiAgICAgICAgfQogICAgICBdLAogICAgICAibmFtZUlkZW50aWZpZXJzIjogWwogICAgICAgIHsKICAgICAgICAgICJzY2hlbWVVcmkiOiAiaHR0cHM6Ly9vcmNpZC5vcmciLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyIjogImh0dHBzOi8vb3JjaWQub3JnLzAwMDAtMDAwMi00Njk1LTc4NzQiLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyU2NoZW1lIjogIk9SQ0lEIgogICAgICAgIH0KICAgICAgXQogICAgfSwKICAgIHsKICAgICAgIm5hbWUiOiAiZGUgU21hZWxlLCBNYWRlbGVpbmUiLAogICAgICAibmFtZVR5cGUiOiAiUGVyc29uYWwiLAogICAgICAiZ2l2ZW5OYW1lIjogIk1hZGVsZWluZSIsCiAgICAgICJmYW1pbHlOYW1lIjogImRlIFNtYWVsZSIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEZWxmdCBVbml2ZXJzaXR5IG9mIFRlY2hub2xvZ3kiLAogICAgICAgICAgInNjaGVtZVVyaSI6ICJodHRwczovL3Jvci5vcmciLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllciI6ICJodHRwczovL3Jvci5vcmcvMDJlMmM3azA5IiwKICAgICAgICAgICJhZmZpbGlhdGlvbklkZW50aWZpZXJTY2hlbWUiOiAiUk9SIgogICAgICAgIH0KICAgICAgXSwKICAgICAgIm5hbWVJZGVudGlmaWVycyI6IFsKICAgICAgICB7CiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vb3JjaWQub3JnIiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllciI6ICJodHRwczovL29yY2lkLm9yZy8wMDAwLTAwMDItODk2My0zNDE1IiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllclNjaGVtZSI6ICJPUkNJRCIKICAgICAgICB9CiAgICAgIF0KICAgIH0KICBdLAogICJ0aXRsZXMiOiBbCiAgICB7CiAgICAgICJsYW5nIjogbnVsbCwKICAgICAgInRpdGxlIjogIkFubm91bmNpbmcgc2NoZW1hIDQuMiIsCiAgICAgICJ0aXRsZVR5cGUiOiBudWxsCiAgICB9CiAgXSwKICAicHVibGlzaGVyIjogIkRhdGFDaXRlIiwKICAiY29udGFpbmVyIjoge30sCiAgInN1YmplY3RzIjogWwogICAgewogICAgICAic3ViamVjdCI6ICJmZWF0dXJlZCIKICAgIH0KICBdLAogICJjb250cmlidXRvcnMiOiBbXSwKICAiZGF0ZXMiOiBbCiAgICB7CiAgICAgICJkYXRlIjogIjIwMTktMDMtMjBUMDc6MTc6NTIuNzkyWiIsCiAgICAgICJkYXRlVHlwZSI6ICJJc3N1ZWQiCiAgICB9LAogICAgewogICAgICAiZGF0ZSI6ICIyMDE5LTAzLTIwVDA3OjE3OjUyLjc5MloiLAogICAgICAiZGF0ZVR5cGUiOiAiQ3JlYXRlZCIKICAgIH0sCiAgICB7CiAgICAgICJkYXRlIjogIjIwMTktMDMtMjBUMDc6MTc6NTIuNzkyWiIsCiAgICAgICJkYXRlVHlwZSI6ICJVcGRhdGVkIgogICAgfQogIF0sCiAgInB1YmxpY2F0aW9uWWVhciI6IDIwMTksCiAgImlkZW50aWZpZXJzIjogWwogICAgewogICAgICAiaWRlbnRpZmllciI6ICJodHRwczovL2RvaS5vcmcvMTAuMTQ0NTQvY25lNy1hcjMxIiwKICAgICAgImlkZW50aWZpZXJUeXBlIjogIkRPSSIKICAgIH0KICBdLAogICJ2ZXJzaW9uIjogIjEuMCIsCiAgInJpZ2h0c0xpc3QiOiB7CiAgICAicmlnaHRzIjogbnVsbCwKICAgICJyaWdodHNVcmkiOiB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DAE8N/mVICwAA http_version: - recorded_at: Sun, 15 Dec 2019 22:41:00 GMT + recorded_at: Fri, 08 May 2020 13:41:49 GMT recorded_with: VCR 3.0.3 diff --git a/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_datacite_datacite_json/link.yml b/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_datacite_datacite_json/link.yml index d953ee0..003761c 100644 --- a/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_datacite_datacite_json/link.yml +++ b/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_datacite_datacite_json/link.yml @@ -8,16 +8,18 @@ http_interactions: string: '' headers: User-Agent: - - Mozilla/5.0 (compatible; Maremma/4.4; mailto:info@datacite.org) + - Mozilla/5.0 (compatible; Maremma/4.6.1; mailto:info@datacite.org) Accept: - application/vnd.datacite.datacite+json + Accept-Encoding: + - gzip response: status: code: 200 - message: '' + message: OK headers: Date: - - Sun, 15 Dec 2019 22:41:00 GMT + - Fri, 08 May 2020 13:41:49 GMT Content-Type: - application/vnd.datacite.datacite+json; charset=utf-8 Connection: @@ -30,20 +32,22 @@ http_interactions: - max-age=0, private, must-revalidate Vary: - Accept-Encoding, Origin + Content-Encoding: + - gzip X-Request-Id: - - ba8a704f-b3e8-493a-880f-a806e5473a7d + - a05a6f11-8bdf-4266-8a3b-153637597f5e Etag: - - W/"37fcf41a8fbf601eac15785399ed4c78" + - W/"100a43851d5c8670f04070b4ec636502" X-Runtime: - - '0.013215' + - '0.024853' X-Powered-By: - Phusion Passenger 6.0.4 Server: - - nginx/1.17.3 + Phusion Passenger 6.0.4 + - nginx/1.14.0 + Phusion Passenger 6.0.4 body: encoding: ASCII-8BIT string: !binary |- - ewogICJpZCI6ICJodHRwczovL2RvaS5vcmcvMTAuMTQ0NTQvY25lNy1hcjMxIiwKICAiZG9pIjogIjEwLjE0NDU0L0NORTctQVIzMSIsCiAgInVybCI6ICJodHRwczovL2Jsb2cuZGF0YWNpdGUub3JnL2Fubm91bmNpbmctc2NoZW1hLTQtMi8iLAogICJ0eXBlcyI6IHsKICAgICJyaXMiOiAiR0VOIiwKICAgICJiaWJ0ZXgiOiAiYXJ0aWNsZSIsCiAgICAiY2l0ZXByb2MiOiAicG9zdC13ZWJsb2ciLAogICAgInNjaGVtYU9yZyI6ICJCbG9nUG9zdGluZyIsCiAgICAicmVzb3VyY2VUeXBlR2VuZXJhbCI6ICJUZXh0IgogIH0sCiAgImNyZWF0b3JzIjogWwogICAgewogICAgICAibmFtZSI6ICJEYXNsZXIsIFJvYmluIiwKICAgICAgIm5hbWVUeXBlIjogIlBlcnNvbmFsIiwKICAgICAgImdpdmVuTmFtZSI6ICJSb2JpbiIsCiAgICAgICJmYW1pbHlOYW1lIjogIkRhc2xlciIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEYXRhQ2l0ZSIsCiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vcm9yLm9yZyIsCiAgICAgICAgICAiYWZmaWxpYXRpb25JZGVudGlmaWVyIjogImh0dHBzOi8vcm9yLm9yZy8wNHd4bnNqODEiLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllclNjaGVtZSI6ICJST1IiCiAgICAgICAgfQogICAgICBdLAogICAgICAibmFtZUlkZW50aWZpZXJzIjogWwogICAgICAgIHsKICAgICAgICAgICJzY2hlbWVVcmkiOiAiaHR0cHM6Ly9vcmNpZC5vcmciLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyIjogImh0dHBzOi8vb3JjaWQub3JnLzAwMDAtMDAwMi00Njk1LTc4NzQiLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyU2NoZW1lIjogIk9SQ0lEIgogICAgICAgIH0KICAgICAgXQogICAgfSwKICAgIHsKICAgICAgIm5hbWUiOiAiZGUgU21hZWxlLCBNYWRlbGVpbmUiLAogICAgICAibmFtZVR5cGUiOiAiUGVyc29uYWwiLAogICAgICAiZ2l2ZW5OYW1lIjogIk1hZGVsZWluZSIsCiAgICAgICJmYW1pbHlOYW1lIjogImRlIFNtYWVsZSIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEZWxmdCBVbml2ZXJzaXR5IG9mIFRlY2hub2xvZ3kiLAogICAgICAgICAgInNjaGVtZVVyaSI6ICJodHRwczovL3Jvci5vcmciLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllciI6ICJodHRwczovL3Jvci5vcmcvMDJlMmM3azA5IiwKICAgICAgICAgICJhZmZpbGlhdGlvbklkZW50aWZpZXJTY2hlbWUiOiAiUk9SIgogICAgICAgIH0KICAgICAgXSwKICAgICAgIm5hbWVJZGVudGlmaWVycyI6IFsKICAgICAgICB7CiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vb3JjaWQub3JnIiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllciI6ICJodHRwczovL29yY2lkLm9yZy8wMDAwLTAwMDItODk2My0zNDE1IiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllclNjaGVtZSI6ICJPUkNJRCIKICAgICAgICB9CiAgICAgIF0KICAgIH0KICBdLAogICJ0aXRsZXMiOiBbCiAgICB7CiAgICAgICJsYW5nIjogbnVsbCwKICAgICAgInRpdGxlIjogIkFubm91bmNpbmcgc2NoZW1hIDQuMiIsCiAgICAgICJ0aXRsZVR5cGUiOiBudWxsCiAgICB9CiAgXSwKICAicHVibGlzaGVyIjogIkRhdGFDaXRlIiwKICAiY29udGFpbmVyIjoge30sCiAgInN1YmplY3RzIjogWwogICAgewogICAgICAic3ViamVjdCI6ICJmZWF0dXJlZCIKICAgIH0KICBdLAogICJjb250cmlidXRvcnMiOiBbXSwKICAiZGF0ZXMiOiBbCiAgICB7CiAgICAgICJkYXRlIjogIjIwMTktMDMtMjBUMDc6MTc6NTIuNzkyWiIsCiAgICAgICJkYXRlVHlwZSI6ICJJc3N1ZWQiCiAgICB9L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JYcmy/hYYsOArl+DRPi7o3l7N46fSV7KYd2TgezcN4Eo7jVTw7G83OpuNoNh//eSjQIevTtjCmaAIP3oPxwl0m70t5t8talN2dYP5M/AHULbqjHZQ3f0fsJd4faN8CglEUl1um+XpjzWdubPt2dnMd+VRz5cGoRFFucAaGab5zSfygDlse/ireAKllRL6Ape5RQW5LYXJDLNpTavBfrrQfbWvQXhUEZbTllljVkERkgWMQwniA86APlAuaCiC4JCIzhMqMGKsL5nTniRGqD8wamNKZGXggt9/++deQxw215BHIAxXc7QehaxS78bG39B4wFeQCXOW93bjDhSlTg97EbFQhMpJiaqtW/lEUBX2rUm/7eYopUmaP912DcHLoa2jNwntMi2thrvFhtcwPAV+xVI+/aTI5rfuWMW382y+pt0nr+JfLxXEZZe/5/SBK1z7dO7X9qCxBw3vQEkRY3tABvgcfUOF64d+3Nb7qQYJj7K4l6kLoGiTbv25fxlanM+cyc2oJTl6+AwAA//8DAE8N/mVICwAA http_version: - recorded_at: Sun, 15 Dec 2019 22:41:00 GMT + recorded_at: Fri, 08 May 2020 13:41:49 GMT recorded_with: VCR 3.0.3 diff --git a/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_datacite_datacite_xml/header.yml b/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_datacite_datacite_xml/header.yml index 6063070..9fdc5cf 100644 --- a/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_datacite_datacite_xml/header.yml +++ b/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_datacite_datacite_xml/header.yml @@ -8,16 +8,18 @@ http_interactions: string: '' headers: User-Agent: - - Mozilla/5.0 (compatible; Maremma/4.7; mailto:info@datacite.org) + - Mozilla/5.0 (compatible; Maremma/4.6.1; mailto:info@datacite.org) Accept: - application/vnd.datacite.datacite+json + Accept-Encoding: + - gzip response: status: code: 200 message: OK headers: Date: - - Fri, 08 May 2020 11:23:44 GMT + - Fri, 08 May 2020 13:41:47 GMT Content-Type: - application/vnd.datacite.datacite+json; charset=utf-8 Connection: @@ -30,92 +32,22 @@ http_interactions: - max-age=0, private, must-revalidate Vary: - Accept-Encoding, Origin + Content-Encoding: + - gzip X-Request-Id: - - 77cbd574-c769-4a8a-9ffe-c5c05eddcdca + - 7b2a0c0d-93ab-4e87-9cf3-29fd13609580 Etag: - - W/"e8f7653f980f63cda770793e966e1e73" + - W/"7d7165112b382996c34ac880d5a8fe21" X-Runtime: - - '0.021474' + - '0.024487' X-Powered-By: - Phusion Passenger 6.0.4 Server: - nginx/1.14.0 + Phusion Passenger 6.0.4 body: encoding: ASCII-8BIT - string: |- - { - "id": "https://doi.org/10.00012/uu01-ltej7x", - "doi": "10.00012/UU01-LTEJ7X", - "url": "https://145.100.59.25.surf-hosted.nl/yoda-test/UU01/LTEJ7X.html", - "types": { - "ris": "DATA", - "bibtex": "misc", - "citeproc": "dataset", - "schemaOrg": "Dataset", - "resourceType": "Research Data", - "resourceTypeGeneral": "Dataset" - }, - "creators": [ - { - "name": "Minimum: Creator Of Datapackage", - "affiliation": [ - { - "name": "Utrecht University" - } - ], - "nameIdentifiers": [] - } - ], - "titles": [ - { - "lang": "en", - "title": "Minimum: Title" - } - ], - "publisher": "Utrecht University", - "container": {}, - "subjects": [], - "contributors": [], - "dates": [ - { - "date": "2019", - "dateType": "Issued" - } - ], - "publicationYear": 2019, - "language": "en", - "identifiers": [ - { - "identifier": "https://handle.test.datacite.org/10.00012/uu01-ltej7x", - "identifierType": "DOI" - } - ], - "sizes": [], - "formats": [], - "version": "Minimum: Version", - "rightsList": [ - { - "rights": "Custom" - }, - { - "rights": "Open Access", - "rightsUri": "info:eu-repo/semantics/openAccess" - } - ], - "descriptions": [ - { - "description": "Minimum: Description", - "descriptionType": "Abstract" - } - ], - "geoLocations": [], - "fundingReferences": [], - "relatedIdentifiers": [], - "providerId": "delft", - "clientId": "delft.uu", - "agency": "DataCite", - "state": "findable" - } + string: !binary |- + H4sIAJthtV4AA3xUTW/bMAy991cYOSe2U6womlvQDkOGDgGKZNgw5CBLdMzOlgyJKpoV/e/Thx07WbqbRT4+ko+k366SZIJiskgmFVFrFlkmFKZK77N5nuZ5Pr/OrM3ns5rg+fZ1MvV4h/ABR8B26wCPm89fb39EgNX1mHH+6Sad53l6c5de36TG6nJWKUMgUllnByXYjMBQoMkiTVpRU0cuOrRgHNube7inRv+YPCw3y+B3pgILgldvbdDw3sqRoNWKe7tgxAxQ7zK8goat9T4wnfo0GGU1h41L691PYIBpXiUedwn0BSRoVo+pHOg91M41MFLaV/wrRMYmnEeyJtB/Q4mNbRbJfYQm6zJkahn/zfbQJXQBrCyxRkao5JFtzHjCuiUNvKJkK/EFtEE6TI6w9+5rNx3XshIgCUuEWOzuqofu4hCQarjQRs1kEBHkUGnAnvS2CZYzytYWNZoK9AcFRwGVJIYygN6ipsYWz8AplnkEaSxsr3S0uplfqtibfcbrfH431Oyt/cRXxlgQF8vlQf+fbiEc0DMElxfB+mENQriTOtHztIbBOb6SiklRQ+pPIfUL6xf4/4d4RtY38LBenVdv8A+MtCmVbthYwiB62Kxhat87WwBo3FdkHtHQv+1En4+9t4ZU0yWffoRatyCTJedgzNBGdG91+LOgLNUC7ExDqzLjbtV1yE2mXGAXd9afAMM1tn46l2Y+eE86fBjZpxfAvaDLwpBmnM6z7kE9qrgTY3GtFCj3T1CCBsnHumuo3aKJ82OLC6bVi5ulXoWfsYC6pO4GanTwkTm1Nnrczkl+6P88925fot1Qt+QlSsEKf3vvfwEAAP//AwAQilN36QUAAA== http_version: - recorded_at: Fri, 08 May 2020 11:23:44 GMT + recorded_at: Fri, 08 May 2020 13:41:47 GMT recorded_with: VCR 3.0.3 diff --git a/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_datacite_datacite_xml/link.yml b/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_datacite_datacite_xml/link.yml index 463b50b..1cee5f2 100644 --- a/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_datacite_datacite_xml/link.yml +++ b/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_datacite_datacite_xml/link.yml @@ -8,16 +8,18 @@ http_interactions: string: '' headers: User-Agent: - - Mozilla/5.0 (compatible; Maremma/4.7; mailto:info@datacite.org) + - Mozilla/5.0 (compatible; Maremma/4.6.1; mailto:info@datacite.org) Accept: - application/vnd.datacite.datacite+json + Accept-Encoding: + - gzip response: status: code: 200 message: OK headers: Date: - - Fri, 08 May 2020 11:23:44 GMT + - Fri, 08 May 2020 13:41:48 GMT Content-Type: - application/vnd.datacite.datacite+json; charset=utf-8 Connection: @@ -30,92 +32,22 @@ http_interactions: - max-age=0, private, must-revalidate Vary: - Accept-Encoding, Origin + Content-Encoding: + - gzip X-Request-Id: - - 0e619c0e-3fd4-48fc-8bc4-5b4e37e6949f + - 6e1fc25e-1745-4433-9456-284a3505e92b Etag: - - W/"e8f7653f980f63cda770793e966e1e73" + - W/"dcab24dcd00c5b8670b3c15efee713a9" X-Runtime: - - '0.020547' + - '0.047575' X-Powered-By: - Phusion Passenger 6.0.4 Server: - nginx/1.14.0 + Phusion Passenger 6.0.4 body: encoding: ASCII-8BIT - string: |- - { - "id": "https://doi.org/10.00012/uu01-ltej7x", - "doi": "10.00012/UU01-LTEJ7X", - "url": "https://145.100.59.25.surf-hosted.nl/yoda-test/UU01/LTEJ7X.html", - "types": { - "ris": "DATA", - "bibtex": "misc", - "citeproc": "dataset", - "schemaOrg": "Dataset", - "resourceType": "Research Data", - "resourceTypeGeneral": "Dataset" - }, - "creators": [ - { - "name": "Minimum: Creator Of Datapackage", - "affiliation": [ - { - "name": "Utrecht University" - } - ], - "nameIdentifiers": [] - } - ], - "titles": [ - { - "lang": "en", - "title": "Minimum: Title" - } - ], - "publisher": "Utrecht University", - "container": {}, - "subjects": [], - "contributors": [], - "dates": [ - { - "date": "2019", - "dateType": "Issued" - } - ], - "publicationYear": 2019, - "language": "en", - "identifiers": [ - { - "identifier": "https://handle.test.datacite.org/10.00012/uu01-ltej7x", - "identifierType": "DOI" - } - ], - "sizes": [], - "formats": [], - "version": "Minimum: Version", - "rightsList": [ - { - "rights": "Custom" - }, - { - "rights": "Open Access", - "rightsUri": "info:eu-repo/semantics/openAccess" - } - ], - "descriptions": [ - { - "description": "Minimum: Description", - "descriptionType": "Abstract" - } - ], - "geoLocations": [], - "fundingReferences": [], - "relatedIdentifiers": [], - "providerId": "delft", - "clientId": "delft.uu", - "agency": "DataCite", - "state": "findable" - } + string: !binary |- + H4sIAJxhtV4AA3xUTW/bMAy991cYOSe2U6womlvQDkOGDgGKZNgw5CBLdMzOlgyJKpoV/e/Thx07WbqbRT4+ko+k366SZIJiskgmFVFrFlkmFKZK77N5nuZ5Pr/OrM3ns5rg+fZ1MvV4h/ABR8B26wCPm89fb39EgNX1mHH+6Sad53l6c5de36TG6nJWKUMgUllnByXYjMBQoMkiTVpRU0cuOrRgHNube7inRv+YPCw3y+B3pgILgldvbdDw3sqRoNWKe7tgxAxQ7zK8goat9T4wnfo0GGU1h41L691PYIBpXiUedwn0BSRoVo+pHOg91M41MFLaV/wrRMYmnEeyJtB/Q4mNbRbJfYQm6zJkahn/zfbQJXQBrCyxRkao5JFtzHjCuiUNvKJkK/EFtEE6TI6w9+5rNx3XshIgCUuEWOzuqofu4hCQarjQRs1kEBHkUGnAnvS2CZYzytYWNZoK9AcFRwGVJIYygN6ipsYWz8AplnkEaSxsr3S0uplfqtibfcbrfH431Oyt/cRXxlgQF8vlQf+fbiEc0DMElxfB+mENQriTOtHztIbBOb6SiklRQ+pPIfUL6xf4/4d4RtY38LBenVdv8A+MtCmVbthYwiB62Kxhat87WwBo3FdkHtHQv+1En4+9t4ZU0yWffoRatyCTJedgzNBGdG91+LOgLNUC7ExDqzLjbtV1yE2mXGAXd9afAMM1tn46l2Y+eE86fBjZpxfAvaDLwpBmnM6z7kE9qrgTY3GtFCj3T1CCBsnHumuo3aKJ82OLC6bVi5ulXoWfsYC6pO4GanTwkTm1Nnrczkl+6P88925fot1Qt+QlSsEKf3vvfwEAAP//AwAQilN36QUAAA== http_version: - recorded_at: Fri, 08 May 2020 11:23:44 GMT + recorded_at: Fri, 08 May 2020 13:41:48 GMT recorded_with: VCR 3.0.3 diff --git a/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_datacite_datacite_xml/not_found.yml b/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_datacite_datacite_xml/not_found.yml index aeb15ce..7fd1ad7 100644 --- a/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_datacite_datacite_xml/not_found.yml +++ b/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_datacite_datacite_xml/not_found.yml @@ -8,16 +8,18 @@ http_interactions: string: '' headers: User-Agent: - - Mozilla/5.0 (compatible; Maremma/4.7; mailto:info@datacite.org) + - Mozilla/5.0 (compatible; Maremma/4.6.1; mailto:info@datacite.org) Accept: - application/vnd.datacite.datacite+json + Accept-Encoding: + - gzip response: status: code: 404 message: Not Found headers: Date: - - Fri, 08 May 2020 11:23:44 GMT + - Fri, 08 May 2020 13:41:48 GMT Content-Type: - application/json; charset=utf-8 Connection: @@ -28,20 +30,22 @@ http_interactions: - no-cache Vary: - Accept-Encoding, Origin + Content-Encoding: + - gzip X-Request-Id: - - b676da68-4f1c-4589-9c70-991222a562db + - bfc82a7d-85ef-41f2-8b80-5af296375bcc X-Runtime: - - '0.014669' + - '0.016153' X-Powered-By: - Phusion Passenger 6.0.4 Server: - nginx/1.14.0 + Phusion Passenger 6.0.4 body: encoding: ASCII-8BIT - string: '{"errors":[{"status":"404","title":"The resource you are looking for - doesn''t exist."}]}' + string: !binary |- + H4sIAJxhtV4AAwzHMQqAMAwF0KuELC4iDp08h5s4FP1qsTSQpKCId9ftvYehKmo8TA+bR68/OfSBW/bkGf/GA6QwqbqAbqkUFZRFzlR22kRpFVhpnHAl847f+f0AAAD//wMArpOW4VcAAAA= http_version: - recorded_at: Fri, 08 May 2020 11:23:44 GMT + recorded_at: Fri, 08 May 2020 13:41:48 GMT - request: method: get uri: https://api.crossref.org/works/10.15146/r34015/transform/application/vnd.crossref.unixsd+xml @@ -50,9 +54,11 @@ http_interactions: string: '' headers: User-Agent: - - Mozilla/5.0 (compatible; Maremma/4.7; mailto:info@datacite.org) + - Mozilla/5.0 (compatible; Maremma/4.6.1; mailto:info@datacite.org) Accept: - text/xml + Accept-Encoding: + - gzip,deflate response: status: code: 404 @@ -69,7 +75,7 @@ http_interactions: Server: - http-kit Date: - - Fri, 08 May 2020 11:23:44 GMT + - Fri, 08 May 2020 13:41:48 GMT X-Rate-Limit-Limit: - '50' X-Rate-Limit-Interval: @@ -80,7 +86,7 @@ http_interactions: encoding: ASCII-8BIT string: Resource not found. http_version: - recorded_at: Fri, 08 May 2020 11:23:45 GMT + recorded_at: Fri, 08 May 2020 13:41:48 GMT - request: method: get uri: https://doi.org/ra/10.15146 @@ -89,23 +95,27 @@ http_interactions: string: '' headers: User-Agent: - - Mozilla/5.0 (compatible; Maremma/4.7; mailto:info@datacite.org) + - Mozilla/5.0 (compatible; Maremma/4.6.1; mailto:info@datacite.org) Accept: - text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5 + Accept-Encoding: + - gzip,deflate response: status: code: 200 message: '' headers: Date: - - Fri, 08 May 2020 11:23:45 GMT + - Fri, 08 May 2020 13:41:49 GMT Content-Type: - application/json;charset=UTF-8 Connection: - keep-alive Set-Cookie: - - __cfduid=d726de7377cfa1a0a2d6541c88a15f2af1588937025; expires=Sun, 07-Jun-20 - 11:23:45 GMT; path=/; domain=.doi.org; HttpOnly; SameSite=Lax; Secure + - __cfduid=d7fe1f021b591fe1bac47e48ded18589a1588945308; expires=Sun, 07-Jun-20 + 13:41:48 GMT; path=/; domain=.doi.org; HttpOnly; SameSite=Lax; Secure + Content-Encoding: + - gzip Cf-Cache-Status: - DYNAMIC Expect-Ct: @@ -115,18 +125,13 @@ http_interactions: Server: - cloudflare Cf-Ray: - - 5902cf7709b505c8-FRA + - 590399b49c9d0621-FRA Cf-Request-Id: - - '02959ffe68000005c86ea7a200000001' + - '02961e64e0000006215da77200000001' body: encoding: ASCII-8BIT - string: |- - [ - { - "DOI": "10.15146", - "RA": "DataCite" - } - ] + string: !binary |- + H4sIAAAAAAAAA4vmUlCoBmIFBSUXf08lKwUlQwM9Q1NDEzMlHYhwkCNI1CWxJNE5syRVCShYyxULAF6CPGo3AAAA http_version: - recorded_at: Fri, 08 May 2020 11:23:45 GMT + recorded_at: Fri, 08 May 2020 13:41:49 GMT recorded_with: VCR 3.0.3 diff --git a/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_jats_xml/header.yml b/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_jats_xml/header.yml index 9b0c8d4..9398158 100644 --- a/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_jats_xml/header.yml +++ b/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_jats_xml/header.yml @@ -8,16 +8,18 @@ http_interactions: string: '' headers: User-Agent: - - Mozilla/5.0 (compatible; Maremma/4.4; mailto:info@datacite.org) + - Mozilla/5.0 (compatible; Maremma/4.6.1; mailto:info@datacite.org) Accept: - application/vnd.datacite.datacite+json + Accept-Encoding: + - gzip response: status: code: 200 - message: '' + message: OK headers: Date: - - Sun, 15 Dec 2019 22:40:58 GMT + - Fri, 08 May 2020 13:41:47 GMT Content-Type: - application/vnd.datacite.datacite+json; charset=utf-8 Connection: @@ -30,20 +32,22 @@ http_interactions: - max-age=0, private, must-revalidate Vary: - Accept-Encoding, Origin + Content-Encoding: + - gzip X-Request-Id: - - 828614e6-397d-4455-a35c-f63bd5648d0f + - 3c4698a9-c2f2-438f-a158-d1ccbfdfe6df Etag: - - W/"37fcf41a8fbf601eac15785399ed4c78" + - W/"d0b91c4b6e55e3b24437b9719a08782f" X-Runtime: - - '0.012611' + - '0.028128' X-Powered-By: - Phusion Passenger 6.0.4 Server: - - nginx/1.17.3 + Phusion Passenger 6.0.4 + - nginx/1.14.0 + Phusion Passenger 6.0.4 body: encoding: ASCII-8BIT string: !binary |- - ewogICJpZCI6ICJodHRwczovL2RvaS5vcmcvMTAuMTQ0NTQvY25lNy1hcjMxIiwKICAiZG9pIjogIjEwLjE0NDU0L0NORTctQVIzMSIsCiAgInVybCI6ICJodHRwczovL2Jsb2cuZGF0YWNpdGUub3JnL2Fubm91bmNpbmctc2NoZW1hLTQtMi8iLAogICJ0eXBlcyI6IHsKICAgICJyaXMiOiAiR0VOIiwKICAgICJiaWJ0ZXgiOiAiYXJ0aWNsZSIsCiAgICAiY2l0ZXByb2MiOiAicG9zdC13ZWJsb2ciLAogICAgInNjaGVtYU9yZyI6ICJCbG9nUG9zdGluZyIsCiAgICAicmVzb3VyY2VUeXBlR2VuZXJhbCI6ICJUZXh0IgogIH0sCiAgImNyZWF0b3JzIjogWwogICAgewogICAgICAibmFtZSI6ICJEYXNsZXIsIFJvYmluIiwKICAgICAgIm5hbWVUeXBlIjogIlBlcnNvbmFsIiwKICAgICAgImdpdmVuTmFtZSI6ICJSb2JpbiIsCiAgICAgICJmYW1pbHlOYW1lIjogIkRhc2xlciIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEYXRhQ2l0ZSIsCiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vcm9yLm9yZyIsCiAgICAgICAgICAiYWZmaWxpYXRpb25JZGVudGlmaWVyIjogImh0dHBzOi8vcm9yLm9yZy8wNHd4bnNqODEiLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllclNjaGVtZSI6ICJST1IiCiAgICAgICAgfQogICAgICBdLAogICAgICAibmFtZUlkZW50aWZpZXJzIjogWwogICAgICAgIHsKICAgICAgICAgICJzY2hlbWVVcmkiOiAiaHR0cHM6Ly9vcmNpZC5vcmciLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyIjogImh0dHBzOi8vb3JjaWQub3JnLzAwMDAtMDAwMi00Njk1LTc4NzQiLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyU2NoZW1lIjogIk9SQ0lEIgogICAgICAgIH0KICAgICAgXQogICAgfSwKICAgIHsKICAgICAgIm5hbWUiOiAiZGUgU21hZWxlLCBNYWRlbGVpbmUiLAogICAgICAibmFtZVR5cGUiOiAiUGVyc29uYWwiLAogICAgICAiZ2l2ZW5OYW1lIjogIk1hZGVsZWluZSIsCiAgICAgICJmYW1pbHlOYW1lIjogImRlIFNtYWVsZSIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEZWxmdCBVbml2ZXJzaXR5IG9mIFRlY2hub2xvZ3kiLAogICAgICAgICAgInNjaGVtZVVyaSI6ICJodHRwczovL3Jvci5vcmciLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllciI6ICJodHRwczovL3Jvci5vcmcvMDJlMmM3azA5IiwKICAgICAgICAgICJhZmZpbGlhdGlvbklkZW50aWZpZXJTY2hlbWUiOiAiUk9SIgogICAgICAgIH0KICAgICAgXSwKICAgICAgIm5hbWVJZGVudGlmaWVycyI6IFsKICAgICAgICB7CiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vb3JjaWQub3JnIiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllciI6ICJodHRwczovL29yY2lkLm9yZy8wMDAwLTAwMDItODk2My0zNDE1IiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllclNjaGVtZSI6ICJPUkNJRCIKICAgICAgICB9CiAgICAgIF0KICAgIH0KICBdLAogICJ0aXRsZXMiOiBbCiAgICB7CiAgICAgICJsYW5nIjogbnVsbCwKICAgICAgInRpdGxlIjogIkFubm91bmNpbmcgc2NoZW1hIDQuMiIsCiAgICAgICJ0aXRsZVR5cGUiOiBudWxsCiAgICB9CiAgXSwKICAicHVibGlzaGVyIjogIkRhdGFDaXRlIiwKICAiY29udGFpbmVyIjoge30sCiAgInN1YmplY3RzIjogWwogICAgewogICAgICAic3ViamVjdCI6ICJmZWF0dXJlZCIKICAgIH0KICBdLAogICJjb250c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kltxJDKoNt3uicrICtpEKT9f+/xfZGMZsdh/PfzGRnc4/TMJJMpq+h8hOquICy62Anr4lqHQdURZCNIvgsY77vGnUpGyfJInGQRdXqdERHIXcFangZlNW3Ok9AVPSUpSmMz2XrdUU6VdgtifFyuJYcmy/hYYsOArl+DRPi7o3l7N46fSV7KYd2TgezcN4Eo7jVTw7G83OpuNoNh//eSjQIevTtjCmaAIP3oPxwl0m70t5t8talN2dYP5M/AHULbqjHZQ3f0fsJd4faN8CglEUl1um+XpjzWdubPt2dnMd+VRz5cGoRFFucAaGab5zSfygDlse/ireAKllRL6Ape5RQW5LYXJDLNpTavBfrrQfbWvQXhUEZbTllljVkERkgWMQwniA86APlAuaCiC4JCIzhMqMGKsL5nTniRGqD8wamNKZGXggt9/++deQxw215BHIAxXc7QehaxS78bG39B4wFeQCXOW93bjDhSlTg97EbFQhMpJiaqtW/lEUBX2rUm/7eYopUmaP912DcHLoa2jNwntMi2thrvFhtcwPAV+xVI+/aTI5rfuWMW382y+pt0nr+JfLxXEZZe/5/SBK1z7dO7X9qCxBw3vQEkRY3tABvgcfUOF64d+3Nb7qQYJj7K4l6kLoGiTbv25fxlanM+cyc2oJTl6+AwAA//8DAE8N/mVICwAA http_version: - recorded_at: Sun, 15 Dec 2019 22:40:58 GMT + recorded_at: Fri, 08 May 2020 13:41:47 GMT recorded_with: VCR 3.0.3 diff --git a/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_jats_xml/link.yml b/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_jats_xml/link.yml index 1affddf..6d5d770 100644 --- a/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_jats_xml/link.yml +++ b/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_jats_xml/link.yml @@ -8,16 +8,18 @@ http_interactions: string: '' headers: User-Agent: - - Mozilla/5.0 (compatible; Maremma/4.4; mailto:info@datacite.org) + - Mozilla/5.0 (compatible; Maremma/4.6.1; mailto:info@datacite.org) Accept: - application/vnd.datacite.datacite+json + Accept-Encoding: + - gzip response: status: code: 200 - message: '' + message: OK headers: Date: - - Sun, 15 Dec 2019 22:40:58 GMT + - Fri, 08 May 2020 13:41:47 GMT Content-Type: - application/vnd.datacite.datacite+json; charset=utf-8 Connection: @@ -30,20 +32,22 @@ http_interactions: - max-age=0, private, must-revalidate Vary: - Accept-Encoding, Origin + Content-Encoding: + - gzip X-Request-Id: - - 5cbe275d-09ad-4e76-a570-b40437ac7591 + - 33f5a3b9-f1c4-494c-9206-28fbe7651b6f Etag: - - W/"37fcf41a8fbf601eac15785399ed4c78" + - W/"d0b91c4b6e55e3b24437b9719a08782f" X-Runtime: - - '0.012440' + - '0.024697' X-Powered-By: - Phusion Passenger 6.0.4 Server: - - nginx/1.17.3 + Phusion Passenger 6.0.4 + - nginx/1.14.0 + Phusion Passenger 6.0.4 body: encoding: ASCII-8BIT string: !binary |- - ewogICJpZCI6ICJodHRwczovL2RvaS5vcmcvMTAuMTQ0NTQvY25lNy1hcjMxIiwKICAiZG9pIjogIjEwLjE0NDU0L0NORTctQVIzMSIsCiAgInVybCI6ICJodHRwczovL2Jsb2cuZGF0YWNpdGUub3JnL2Fubm91bmNpbmctc2NoZW1hLTQtMi8iLAogICJ0eXBlcyI6IHsKICAgICJyaXMiOiAiR0VOIiwKICAgICJiaWJ0ZXgiOiAiYXJ0aWNsZSIsCiAgICAiY2l0ZXByb2MiOiAicG9zdC13ZWJsb2ciLAogICAgInNjaGVtYU9yZyI6ICJCbG9nUG9zdGluZyIsCiAgICAicmVzb3VyY2VUeXBlR2VuZXJhbCI6ICJUZXh0IgogIH0sCiAgImNyZWF0b3JzIjogWwogICAgewogICAgICAibmFtZSI6ICJEYXNsZXIsIFJvYmluIiwKICAgICAgIm5hbWVUeXBlIjogIlBlcnNvbmFsIiwKICAgICAgImdpdmVuTmFtZSI6ICJSb2JpbiIsCiAgICAgICJmYW1pbHlOYW1lIjogIkRhc2xlciIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEYXRhQ2l0ZSIsCiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vcm9yLm9yZyIsCiAgICAgICAgICAiYWZmaWxpYXRpb25JZGVudGlmaWVyIjogImh0dHBzOi8vcm9yLm9yZy8wNHd4bnNqODEiLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllclNjaGVtZSI6ICJST1IiCiAgICAgICAgfQogICAgICBdLAogICAgICAibmFtZUlkZW50aWZpZXJzIjogWwogICAgICAgIHsKICAgICAgICAgICJzY2hlbWVVcmkiOiAiaHR0cHM6Ly9vcmNpZC5vcmciLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyIjogImh0dHBzOi8vb3JjaWQub3JnLzAwMDAtMDAwMi00Njk1LTc4NzQiLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyU2NoZW1lIjogIk9SQ0lEIgogICAgICAgIH0KICAgICAgXQogICAgfSwKICAgIHsKICAgICAgIm5hbWUiOiAiZGUgU21hZWxlLCBNYWRlbGVpbmUiLAogICAgICAibmFtZVR5cGUiOiAiUGVyc29uYWwiLAogICAgICAiZ2l2ZW5OYW1lIjogIk1hZGVsZWluZSIsCiAgICAgICJmYW1pbHlOYW1lIjogImRlIFNtYWVsZSIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEZWxmdCBVbml2ZXJzaXR5IG9mIFRlY2hub2xvZ3kiLAogICAgICAgICAgInNjaGVtZVVyaSI6ICJodHRwczovL3Jvci5vcmciLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllciI6ICJodHRwczovL3Jvci5vcmcvMDJlMmM3azA5IiwKICAgICAgICAgICJhZmZpbGlhdGlvbklkZW50aWZpZXJTY2hlbWUiOiAiUk9SIgogICAgICAgIH0KICAgICAgXSwKICAgICAgIm5hbWVJZGVudGlmaWVycyI6IFsKICAgICAgICB7CiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vb3JjaWQub3JnIiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllciI6ICJodHRwczovL29yY2lkLm9yZy8wMDAwLTAwMDItODk2My0zNDE1IiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllclNjaGVtZSI6ICJPUkNJRCIKICAgICAgICB9CiAgICAgIF0KICAgIH0KICBdLAogICJ0aXRsZXMiOiBbCiAgICB7CiAgICAgICJsYW5nIjogbnVsbCwKICAgICAgInRpdGxlIjogIkFubm91bmNpbmcgc2NoZW1hIDQuMiIsCiAgICAgICJ0aXRsZVR5cGUiOiBudWxsCiAgICB9CiAgXSwKICAicHVibGlzaGVyIjogIkRhdGFDaXRlIiwKICAiY29udGFpbmVyIjoge30sCiAgInN1YmplY3RzIjogWwogICAgewogICAgICAic3ViamVjdCI6ICJmZWF0dXJlZCIKICAgIH0KICBdLAogICJjb250cmlidXRvcnMiOiBbXSwKICAiZGF0ZXMiOiBbCiAgICB7CiAgICAgICJkYXRlIjogIjIwMTktMDMtMjBUMDc6MTc6NTIuNzkyWiIsCiAgICAgICJkYXRlVHlwZSI6ICJJc3N1ZWQiCiAgICB9LAogICAgewogICAgICAiZGF0ZSI6ICIyMDE5LTAzLTIwVDA3OjE3OjUyLjc5MloiLAogICAgICAiZGF0ZVR5cGUiOiAiQ3JlYXRlZCIKICAgIH0sCiAgICB7CiAgICAgICJkYXRlIjogIjIwMTktMDMtMjBUMDc6MTc6NTIuNzkyWiIsCiAgICAgICJkYXRlVHlwZSI6ICJVcGRhdGVkIgogICAgfQogIF0sCiAgInB1YmxpY2F0aW9uWWVhciI6IDIwMTksCiAgImlkZW50aWZpZXJzIjogWwogICAgewogICAgICAiaWRlbnRpZmllciI6ICJodHRwczovL2RvaS5vcmcvMTAuMTQ0NTQvY25lNy1hcjMxIiwKICAgICAgImlkZW50aWZpZXJUeXBlIjogIkRPSSIKICAgIH0KICBdLAogICJ2ZXJzaW9uIjogIjEuMCIsCi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3vQEkRY3tABvgcfUOF64d+3Nb7qQYJj7K4l6kLoGiTbv25fxlanM+cyc2oJTl6+AwAA//8DAE8N/mVICwAA http_version: - recorded_at: Sun, 15 Dec 2019 22:40:59 GMT + recorded_at: Fri, 08 May 2020 13:41:47 GMT recorded_with: VCR 3.0.3 diff --git a/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_schemaorg_ld_json/header.yml b/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_schemaorg_ld_json/header.yml index 0719dd9..fdcef29 100644 --- a/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_schemaorg_ld_json/header.yml +++ b/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_schemaorg_ld_json/header.yml @@ -8,16 +8,18 @@ http_interactions: string: '' headers: User-Agent: - - Mozilla/5.0 (compatible; Maremma/4.4; mailto:info@datacite.org) + - Mozilla/5.0 (compatible; Maremma/4.6.1; mailto:info@datacite.org) Accept: - application/vnd.datacite.datacite+json + Accept-Encoding: + - gzip response: status: code: 200 - message: '' + message: OK headers: Date: - - Sun, 15 Dec 2019 22:41:00 GMT + - Fri, 08 May 2020 13:41:49 GMT Content-Type: - application/vnd.datacite.datacite+json; charset=utf-8 Connection: @@ -30,20 +32,22 @@ http_interactions: - max-age=0, private, must-revalidate Vary: - Accept-Encoding, Origin + Content-Encoding: + - gzip X-Request-Id: - - 76db7732-584c-4844-8f85-771b453b0e01 + - 0d7f72fb-954c-4c1d-bd62-96b82576de0b Etag: - - W/"37fcf41a8fbf601eac15785399ed4c78" + - W/"100a43851d5c8670f04070b4ec636502" X-Runtime: - - '0.013537' + - '0.022983' X-Powered-By: - Phusion Passenger 6.0.4 Server: - - nginx/1.17.3 + Phusion Passenger 6.0.4 + - nginx/1.14.0 + Phusion Passenger 6.0.4 body: encoding: ASCII-8BIT string: !binary |- - ewogICJpZCI6ICJodHRwczovL2RvaS5vcmcvMTAuMTQ0NTQvY25lNy1hcjMxIiwKICAiZG9pIjogIjEwLjE0NDU0L0NORTctQVIzMSIsCiAgInVybCI6ICJodHRwczovL2Jsb2cuZGF0YWNpdGUub3JnL2Fubm91bmNpbmctc2NoZW1hLTQtMi8iLAogICJ0eXBlcyI6IHsKICAgICJyaXMiOiAiR0VOIiwKICAgICJiaWJ0ZXgiOiAiYXJ0aWNsZSIsCiAgICAiY2l0ZXByb2MiOiAicG9zdC13ZWJsb2ciLAogICAgInNjaGVtYU9yZyI6ICJCbG9nUG9zdGluZyIsCiAgICAicmVzb3VyY2VUeXBlR2VuZXJhbCI6ICJUZXh0IgogIH0sCiAgImNyZWF0b3JzIjogWwogICAgewogICAgICAibmFtZSI6ICJEYXNsZXIsIFJvYmluIiwKICAgICAgIm5hbWVUeXBlIjogIlBlcnNvbmFsIiwKICAgICAgImdpdmVuTmFtZSI6ICJSb2JpbiIsCiAgICAgICJmYW1pbHlOYW1lIjogIkRhc2xlciIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEYXRhQ2l0ZSIsCiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vcm9yLm9yZyIsCiAgICAgICAgICAiYWZmaWxpYXRpb25JZGVudGlmaWVyIjogImh0dHBzOi8vcm9yLm9yZy8wNHd4bnNqODEiLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllclNjaGVtZSI6ICJST1IiCiAgICAgICAgfQogICAgICBdLAogICAgICAibmFtZUlkZW50aWZpZXJzIjogWwogICAgICAgIHsKICAgICAgICAgICJzY2hlbWVVcmkiOiAiaHR0cHM6Ly9vcmNpZC5vcmciLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyIjogImh0dHBzOi8vb3JjaWQub3JnLzAwMDAtMDAwMi00Njk1LTc4NzQiLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyU2NoZW1lIjogIk9SQ0lEIgogICAgICAgIH0KICAgICAgXQogICAgfSwKICAgIHsKICAgICAgIm5hbWUiOiAiZGUgU21hZWxlLCBNYWRlbGVpbmUiLAogICAgICAibmFtZVR5cGUiOiAiUGVyc29uYWwiLAogICAgICAiZ2l2ZW5OYW1lIjogIk1hZGVsZWluZSIsCiAgICAgICJmYW1pbHlOYW1lIjogImRlIFNtYWVsZSIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEZWxmdCBVbml2ZXJzaXR5IG9mIFRlY2hub2xvZ3kiLAogICAgICAgICAgInNjaGVtZVVyaSI6ICJodHRwczovL3Jvci5vcmciLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllciI6ICJodHRwczovL3Jvci5vcmcvMDJlMmM3azA5IiwKICAgICAgICAgICJhZmZpbGlhdGlvbklkZW50aWZpZXJTY2hlbWUiOiAiUk9SIgogICAgICAgIH0KICAgICAgXSwKICAgICAgIm5hbWVJZGVudGlmaWVycyI6IFsKICAgICAgICB7CiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vb3JjaWQub3JnIiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllciI6ICJodHRwczovL29yY2lkLm9yZy8wMDAwLTAwMDItODk2My0zNDE1IiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllclNjaGVtZSI6ICJPUkNJRCIKICAgICAgICB9CiAgICAgIF0KICAgIH0KICBdLAogICJ0aXRsZXMiOiBbCiAgICB7CiAgICAgICJsYW5nIjogbnVsbCwKICAgICAgInRpdGxlIjogIkFubm91bmNpbmcgc2NoZW1hIDQuMiIsCiAgICAgICJ0aXRsZVR5cGUiOiBudWxsCiAgICB9CiAgXSwKICAicHVibGlzaGVyIjogIkRhdGFDaXRlIiwKICAiY29udGFpbmVyIjoge30sCiAgInN1YmplY3RzIjogWwogICAgewogICAgICAic3ViamVjdCI6ICJmZWF0dXJlZCIKICAgIH0KICBdLAogICJjb250cmlidXRvcnMiOiBbXSwKICAiZGF0ZXMiOiBbCiAgICB7CiAgICAgICJkYXRlIjogIjIwM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lqHQdURZCNIvgsY77vGnUpGyfJInGQRdXqdERHIXcFangZlNW3Ok9AVPSUpSmMz2XrdUU6VdgtifFyuJYcmy/hYYsOArl+DRPi7o3l7N46fSV7KYd2TgezcN4Eo7jVTw7G83OpuNoNh//eSjQIevTtjCmaAIP3oPxwl0m70t5t8talN2dYP5M/AHULbqjHZQ3f0fsJd4faN8CglEUl1um+XpjzWdubPt2dnMd+VRz5cGoRFFucAaGab5zSfygDlse/ireAKllRL6Ape5RQW5LYXJDLNpTavBfrrQfbWvQXhUEZbTllljVkERkgWMQwniA86APlAuaCiC4JCIzhMqMGKsL5nTniRGqD8wamNKZGXggt9/++deQxw215BHIAxXc7QehaxS78bG39B4wFeQCXOW93bjDhSlTg97EbFQhMpJiaqtW/lEUBX2rUm/7eYopUmaP912DcHLoa2jNwntMi2thrvFhtcwPAV+xVI+/aTI5rfuWMW382y+pt0nr+JfLxXEZZe/5/SBK1z7dO7X9qCxBw3vQEkRY3tABvgcfUOF64d+3Nb7qQYJj7K4l6kLoGiTbv25fxlanM+cyc2oJTl6+AwAA//8DAE8N/mVICwAA http_version: - recorded_at: Sun, 15 Dec 2019 22:41:00 GMT + recorded_at: Fri, 08 May 2020 13:41:49 GMT recorded_with: VCR 3.0.3 diff --git a/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_schemaorg_ld_json/link.yml b/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_schemaorg_ld_json/link.yml index ee5b771..85f5ed2 100644 --- a/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_schemaorg_ld_json/link.yml +++ b/spec/fixtures/vcr_cassettes/content_negotiation/application/vnd_schemaorg_ld_json/link.yml @@ -8,16 +8,18 @@ http_interactions: string: '' headers: User-Agent: - - Mozilla/5.0 (compatible; Maremma/4.4; mailto:info@datacite.org) + - Mozilla/5.0 (compatible; Maremma/4.6.1; mailto:info@datacite.org) Accept: - application/vnd.datacite.datacite+json + Accept-Encoding: + - gzip response: status: code: 200 - message: '' + message: OK headers: Date: - - Sun, 15 Dec 2019 22:41:01 GMT + - Fri, 08 May 2020 13:41:49 GMT Content-Type: - application/vnd.datacite.datacite+json; charset=utf-8 Connection: @@ -30,20 +32,22 @@ http_interactions: - max-age=0, private, must-revalidate Vary: - Accept-Encoding, Origin + Content-Encoding: + - gzip X-Request-Id: - - ed3fe7fa-c85c-4217-9183-af1894cc3dfd + - 1d49c1e2-af0e-4d81-91e7-9abb12dd5bf4 Etag: - - W/"37fcf41a8fbf601eac15785399ed4c78" + - W/"100a43851d5c8670f04070b4ec636502" X-Runtime: - - '0.012762' + - '0.021610' X-Powered-By: - Phusion Passenger 6.0.4 Server: - - nginx/1.17.3 + Phusion Passenger 6.0.4 + - nginx/1.14.0 + Phusion Passenger 6.0.4 body: encoding: ASCII-8BIT string: !binary |- - ewogICJpZCI6ICJodHRwczovL2RvaS5vcmcvMTAuMTQ0NTQvY25lNy1hcjMxIiwKICAiZG9pIjogIjEwLjE0NDU0L0NORTctQVIzMSIsCiAgInVybCI6ICJodHRwczovL2Jsb2cuZGF0YWNpdGUub3JnL2Fubm91bmNpbmctc2NoZW1hLTQtMi8iLAogICJ0eXBlcyI6IHsKICAgICJyaXMiOiAiR0VOIiwKICAgICJiaWJ0ZXgiOiAiYXJ0aWNsZSIsCiAgICAiY2l0ZXByb2MiOiAicG9zdC13ZWJsb2ciLAogICAgInNjaGVtYU9yZyI6ICJCbG9nUG9zdGluZyIsCiAgICAicmVzb3VyY2VUeXBlR2VuZXJhbCI6ICJUZXh0IgogIH0sCiAgImNyZWF0b3JzIjogWwogICAgewogICAgICAibmFtZSI6ICJEYXNsZXIsIFJvYmluIiwKICAgICAgIm5hbWVUeXBlIjogIlBlcnNvbmFsIiwKICAgICAgImdpdmVuTmFtZSI6ICJSb2JpbiIsCiAgICAgICJmYW1pbHlOYW1lIjogIkRhc2xlciIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEYXRhQ2l0ZSIsCiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vcm9yLm9yZyIsCiAgICAgICAgICAiYWZmaWxpYXRpb25JZGVudGlmaWVyIjogImh0dHBzOi8vcm9yLm9yZy8wNHd4bnNqODEiLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllclNjaGVtZSI6ICJST1IiCiAgICAgICAgfQogICAgICBdLAogICAgICAibmFtZUlkZW50aWZpZXJzIjogWwogICAgICAgIHsKICAgICAgICAgICJzY2hlbWVVcmkiOiAiaHR0cHM6Ly9vcmNpZC5vcmciLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyIjogImh0dHBzOi8vb3JjaWQub3JnLzAwMDAtMDAwMi00Njk1LTc4NzQiLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyU2NoZW1lIjogIk9SQ0lEIgogICAgICAgIH0KICAgICAgXQogICAgfSwKICAgIHsKICAgICAgIm5hbWUiOiAiZGUgU21hZWxlLCBNYWRlbGVpbmUiLAogICAgICAibmFtZVR5cGUiOiAiUGVyc29uYWwiLAogICAgICAiZ2l2ZW5OYW1lIjogIk1hZGVsZWluZSIsCiAgICAgICJmYW1pbHlOYW1lIjogImRlIFNtYWVsZSIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEZWxmdCBVbml2ZXJzaXR5IG9mIFRlY2hub2xvZ3kiLAogICAgICAgICAgInNjaGVtZVVyaSI6ICJodHRwczovL3Jvci5vcmciLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllciI6ICJodHRwczovL3Jvci5vcmcvMDJlMmM3azA5IiwKICAgICAgICAgICJhZmZpbGlhdGlvbklkZW50aWZpZXJTY2hlbWUiOiAiUk9SIgogICAgICAgIH0KICAgICAgXSwKICAgICAgIm5hbWVJZGVudGlmaWVycyI6IFsKICAgICAgICB7CiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vb3JjaWQub3JnIiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllciI6ICJodHRwczovL29yY2lkLm9yZy8wMDAwLTAwMDItODk2My0zNDE1IiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllclNjaGVtZSI6ICJPUkNJRCIKICAgICAgICB9CiAgICAgIF0KICAgIH0KICBdLAogICJ0aXRsZXMiOiBbCiAgICB7CiAgICAgICJsYW5nIjogbnVsbCwKICAgICAgInRpdGxlIjogIkFubm91bmNpbmcgc2NoZW1hIDQuMiIsCiAgICAgICJ0aXRsZVR5cGUiOiBudWxsCiAgICB9CiAgXSwKICAicHVibGlzaGVyIjogIkRhdGFDaXRlIiwKICAiY29udGFpbmVyIjoge30sCiAgInN1YmplY3RzIjogWwogICAgewogICAgICAic3ViamVjdCI6ICJmZWF0dXJlZCIKICAgIH0KICBdLAogICJjb250cmlidXRvcnMiOiBbXSwKICAiZGF0ZXMiOiBbCiAgICB7CiAgICAgICJkYXRlIjogIjIwMTktMDMtMjBUMDc6MTc6NTIuNzkyWiIsCiAgICAgICJkYXRlVHlwZSI6ICJJc3N1ZWQiCiAgICB9LAogICAgewogICAgICAiZGF0ZSI6ICIyMDE5LTAzLTIwVDA3OjE3OjUyLjc5MloiLAogICAgICAiZGF0ZVR5cGUiOiAiQ3JlYXRlZCIKICAgIH0sCiAgICB7CiAgICAgICJkYXRlIjogIjIwMTktMDMtMjBUMDc6MTc6NTIuNzkyWiIsCiAgICAgICJkYXRlVHlwZSI6ICJVcGRhdGVkIgogICAgfQogIF0sCiAgInB1YmxpY2F0aW9uWWVhciI6IDIwMTksCiAgImlkZW50aWZpZXJzIjogWwogICAgewogICAgICAiaWRlbnRpZmllciI6ICJodHRwczovL2RvaS5vcmcvMTAuMTQ0NTQvY25lNy1hcjMxIiwKICAgICAgImlkZW50aWZpZXJUeXBlIjogIkRPSSIKICAgIH0KICBdLAogICJ2ZXJzaW9uIjogIjEuMCIsCiAgInJpZ2h0c0xpc3QiOiB7CiAgICAicmlnaHRzIjogbn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Tbv25fxlanM+cyc2oJTl6+AwAA//8DAE8N/mVICwAA http_version: - recorded_at: Sun, 15 Dec 2019 22:41:01 GMT + recorded_at: Fri, 08 May 2020 13:41:49 GMT recorded_with: VCR 3.0.3 diff --git a/spec/fixtures/vcr_cassettes/content_negotiation/application/x-bibtex/header.yml b/spec/fixtures/vcr_cassettes/content_negotiation/application/x-bibtex/header.yml index 03a2179..cfaf030 100644 --- a/spec/fixtures/vcr_cassettes/content_negotiation/application/x-bibtex/header.yml +++ b/spec/fixtures/vcr_cassettes/content_negotiation/application/x-bibtex/header.yml @@ -8,16 +8,18 @@ http_interactions: string: '' headers: User-Agent: - - Mozilla/5.0 (compatible; Maremma/4.4; mailto:info@datacite.org) + - Mozilla/5.0 (compatible; Maremma/4.6.1; mailto:info@datacite.org) Accept: - application/vnd.datacite.datacite+json + Accept-Encoding: + - gzip response: status: code: 200 - message: '' + message: OK headers: Date: - - Sun, 15 Dec 2019 22:41:02 GMT + - Fri, 08 May 2020 13:41:51 GMT Content-Type: - application/vnd.datacite.datacite+json; charset=utf-8 Connection: @@ -30,20 +32,22 @@ http_interactions: - max-age=0, private, must-revalidate Vary: - Accept-Encoding, Origin + Content-Encoding: + - gzip X-Request-Id: - - 30f0cb65-de57-4c84-ab3b-94187fdd86cb + - 5eebbbff-9dfa-419a-81c0-823d3a1e8bf0 Etag: - - W/"37fcf41a8fbf601eac15785399ed4c78" + - W/"01c200f5341f64b89454bf29d9bd1bd0" X-Runtime: - - '0.013129' + - '0.020813' X-Powered-By: - Phusion Passenger 6.0.4 Server: - - nginx/1.17.3 + Phusion Passenger 6.0.4 + - nginx/1.14.0 + Phusion Passenger 6.0.4 body: encoding: ASCII-8BIT string: !binary |- - ewogICJpZCI6ICJodHRwczovL2RvaS5vcmcvMTAuMTQ0NTQvY25lNy1hcjMxIiwKICAiZG9pIjogIjEwLjE0NDU0L0NORTctQVIzMSIsCiAgInVybCI6ICJodHRwczovL2Jsb2cuZGF0YWNpdGUub3JnL2Fubm91bmNpbmctc2NoZW1hLTQtMi8iLAogICJ0eXBlcyI6IHsKICAgICJyaXMiOiAiR0VOIiwKICAgICJiaWJ0ZXgiOiAiYXJ0aWNsZSIsCiAgICAiY2l0ZXByb2MiOiAicG9zdC13ZWJsb2ciLAogICAgInNjaGVtYU9yZyI6ICJCbG9nUG9zdGluZyIsCiAgICAicmVzb3VyY2VUeXBlR2VuZXJhbCI6ICJUZXh0IgogIH0sCiAgImNyZWF0b3JzIjogWwogICAgewogICAgICAibmFtZSI6ICJEYXNsZXIsIFJvYmluIiwKICAgICAgIm5hbWVUeXBlIjogIlBlcnNvbmFsIiwKICAgICAgImdpdmVuTmFtZSI6ICJSb2JpbiIsCiAgICAgICJmYW1pbHlOYW1lIjogIkRhc2xlciIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEYXRhQ2l0ZSIsCiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vcm9yLm9yZyIsCiAgICAgICAgICAiYWZmaWxpYXRpb25JZGVudGlmaWVyIjogImh0dHBzOi8vcm9yLm9yZy8wNHd4bnNqODEiLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllclNjaGVtZSI6ICJST1IiCiAgICAgICAgfQogICAgICBdLAogICAgICAibmFtZUlkZW50aWZpZXJzIjogWwogICAgICAgIHsKICAgICAgICAgICJzY2hlbWVVcmkiOiAiaHR0cHM6Ly9vcmNpZC5vcmciLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyIjogImh0dHBzOi8vb3JjaWQub3JnLzAwMDAtMDAwMi00Njk1LTc4NzQiLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyU2NoZW1lIjogIk9SQ0lEIgogICAgICAgIH0KICAgICAgXQogICAgfSwKICAgIHsKICAgICAgIm5hbWUiOiAiZGUgU21hZWxlLCBNYWRlbGVpbmUiLAogICAgICAibmFtZVR5cGUiOiAiUGVyc29uYWwiLAogICAgICAiZ2l2ZW5OYW1lIjogIk1hZGVsZWluZSIsCiAgICAgICJmYW1pbHlOYW1lIjogImRlIFNtYWVsZSIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEZWxmdCBVbml2ZXJzaXR5IG9mIFRlY2hub2xvZ3kiLAogICAgICAgICAgInNjaGVtZVVyaSI6ICJodHRwczovL3Jvci5vcmciLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllciI6ICJodHRwczovL3Jvci5vcmcvMDJlMmM3azA5IiwKICAgICAgICAgICJhZmZpbGlhdGlvbklkZW50aWZpZXJTY2hlbWUiOiAiUk9SIgogICAgICAgIH0KICAgICAgXSwKICAgICAgIm5hbWVJZGVudGlmaWVycyI6IFsKICAgICAgICB7CiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vb3JjaWQub3JnIiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllciI6ICJodHRwczovL29yY2lkLm9yZy8wMDAwLTAwMDItODk2My0zNDE1IiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllclNjaGVtZSI6ICJPUkNJRCIKICAgICAgICB9CiAgICAgIF0KICAgIH0KICBdLAogICJ0aXRsZXMiOiBbCiAgICB7CiAgICAgICJsYW5nIjogbnVsbCwKICAgICAgInRpdGxlIjogIkFubm91bmNpbmcgc2NoZW1hIDQuMiIsCiAgICAgICJ0aXRsZVR5cGUiOiBudWxsCiAgICB9CiAgXSwKICAicHVibGlzaGVyIjogIkRhdGFDaXRlIiwKICAiY29udGFpbmVyIjoge30sCiAgInN1YmplY3RzIjogWwogICAgewogICAgICAic3ViamVjdCI6ICJmZWF0dXJlZCIKICAgIH0KICBdLAogICJjb250cmlidXRvcnMiOiBbXSwKICAiZGF0ZXMiOiBbCiAgICB7CiAgICAgICJkYXRlIjogIjIwMTktMDMtMjBUMDc6MTc6NTIuNzkyWiIsCiAgICAgICJkYXRlVHlwZSI6ICJJc3N1Z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UU6VdgtifFyuJYcmy/hYYsOArl+DRPi7o3l7N46fSV7KYd2TgezcN4Eo7jVTw7G83OpuNoNh//eSjQIevTtjCmaAIP3oPxwl0m70t5t8talN2dYP5M/AHULbqjHZQ3f0fsJd4faN8CglEUl1um+XpjzWdubPt2dnMd+VRz5cGoRFFucAaGab5zSfygDlse/ireAKllRL6Ape5RQW5LYXJDLNpTavBfrrQfbWvQXhUEZbTllljVkERkgWMQwniA86APlAuaCiC4JCIzhMqMGKsL5nTniRGqD8wamNKZGXggt9/++deQxw215BHIAxXc7QehaxS78bG39B4wFeQCXOW93bjDhSlTg97EbFQhMpJiaqtW/lEUBX2rUm/7eYopUmaP912DcHLoa2jNwntMi2thrvFhtcwPAV+xVI+/aTI5rfuWMW382y+pt0nr+JfLxXEZZe/5/SBK1z7dO7X9qCxBw3vQEkRY3tABvgcfUOF64d+3Nb7qQYJj7K4l6kLoGiTbv25fxlanM+cyc2oJTl6+AwAA//8DAE8N/mVICwAA http_version: - recorded_at: Sun, 15 Dec 2019 22:41:02 GMT + recorded_at: Fri, 08 May 2020 13:41:51 GMT recorded_with: VCR 3.0.3 diff --git a/spec/fixtures/vcr_cassettes/content_negotiation/application/x-bibtex/link.yml b/spec/fixtures/vcr_cassettes/content_negotiation/application/x-bibtex/link.yml index 06e970f..1aabe62 100644 --- a/spec/fixtures/vcr_cassettes/content_negotiation/application/x-bibtex/link.yml +++ b/spec/fixtures/vcr_cassettes/content_negotiation/application/x-bibtex/link.yml @@ -8,16 +8,18 @@ http_interactions: string: '' headers: User-Agent: - - Mozilla/5.0 (compatible; Maremma/4.4; mailto:info@datacite.org) + - Mozilla/5.0 (compatible; Maremma/4.6.1; mailto:info@datacite.org) Accept: - application/vnd.datacite.datacite+json + Accept-Encoding: + - gzip response: status: code: 200 - message: '' + message: OK headers: Date: - - Sun, 15 Dec 2019 22:41:02 GMT + - Fri, 08 May 2020 13:41:51 GMT Content-Type: - application/vnd.datacite.datacite+json; charset=utf-8 Connection: @@ -30,20 +32,22 @@ http_interactions: - max-age=0, private, must-revalidate Vary: - Accept-Encoding, Origin + Content-Encoding: + - gzip X-Request-Id: - - fcb24b02-76ba-414e-a2e9-eb5f17c4ae56 + - 9218420a-72dd-4379-be3e-1c64bef70719 Etag: - - W/"37fcf41a8fbf601eac15785399ed4c78" + - W/"01c200f5341f64b89454bf29d9bd1bd0" X-Runtime: - - '0.013646' + - '0.021453' X-Powered-By: - Phusion Passenger 6.0.4 Server: - - nginx/1.17.3 + Phusion Passenger 6.0.4 + - nginx/1.14.0 + Phusion Passenger 6.0.4 body: encoding: ASCII-8BIT string: !binary |- - ewogICJpZCI6ICJodHRwczovL2RvaS5vcmcvMTAuMTQ0NTQvY25lNy1hcjMxIiwKICAiZG9pIjogIjEwLjE0NDU0L0NORTctQVIzMSIsCiAgInVybCI6ICJodHRwczovL2Jsb2cuZGF0YWNpdGUub3JnL2Fubm91bmNpbmctc2NoZW1hLTQtMi8iLAogICJ0eXBlcyI6IHsKICAgICJyaXMiOiAiR0VOIiwKICAgICJiaWJ0ZXgiOiAiYXJ0aWNsZSIsCiAgICAiY2l0ZXByb2MiOiAicG9zdC13ZWJsb2ciLAogICAgInNjaGVtYU9yZyI6ICJCbG9nUG9zdGluZyIsCiAgICAicmVzb3VyY2VUeXBlR2VuZXJhbCI6ICJUZXh0IgogIH0sCiAgImNyZWF0b3JzIjogWwogICAgewogICAgICAibmFtZSI6ICJEYXNsZXIsIFJvYmluIiwKICAgICAgIm5hbWVUeXBlIjogIlBlcnNvbmFsIiwKICAgICAgImdpdmVuTmFtZSI6ICJSb2JpbiIsCiAgICAgICJmYW1pbHlOYW1lIjogIkRhc2xlciIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEYXRhQ2l0ZSIsCiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vcm9yLm9yZyIsCiAgICAgICAgICAiYWZmaWxpYXRpb25JZGVudGlmaWVyIjogImh0dHBzOi8vcm9yLm9yZy8wNHd4bnNqODEiLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllclNjaGVtZSI6ICJST1IiCiAgICAgICAgfQogICAgICBdLAogICAgICAibmFtZUlkZW50aWZpZXJzIjogWwogICAgICAgIHsKICAgICAgICAgICJzY2hlbWVVcmkiOiAiaHR0cHM6Ly9vcmNpZC5vcmciLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyIjogImh0dHBzOi8vb3JjaWQub3JnLzAwMDAtMDAwMi00Njk1LTc4NzQiLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyU2NoZW1lIjogIk9SQ0lEIgogICAgICAgIH0KICAgICAgXQogICAgfSwKICAgIHsKICAgICAgIm5hbWUiOiAiZGUgU21hZWxlLCBNYWRlbGVpbmUiLAogICAgICAibmFtZVR5cGUiOiAiUGVyc29uYWwiLAogICAgICAiZ2l2ZW5OYW1lIjogIk1hZGVsZWluZSIsCiAgICAgICJmYW1pbHlOYW1lIjogImRlIFNtYWVsZSIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEZWxmdCBVbml2ZXJzaXR5IG9mIFRlY2hub2xvZ3kiLAogICAgICAgICAgInNjaGVtZVVyaSI6ICJodHRwczovL3Jvci5vcmciLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllciI6ICJodHRwczovL3Jvci5vcmcvMDJlMmM3azA5IiwKICAgICAgICAgICJhZmZpbGlhdGlvbklkZW50aWZpZXJTY2hlbWUiOiAiUk9SIgogICAgICAgIH0KICAgICAgXSwKICAgICAgIm5hbWVJZGVudGlmaWVycyI6IFsKICAgICAgICB7CiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vb3JjaWQub3JnIiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllciI6ICJodHRwczovL29yY2lkLm9yZy8wMDAwLTAwMDItODk2My0zNDE1IiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllclNjaGVtZSI6ICJPUkNJRCIKICAgICAgICB9CiAgICAgIF0KICAgIH0KICBdLAogICJ0aXRsZXMiOiBbCiAgICB7CiAgICAgICJsYW5nIjogbnVsbCwKICAgICAgInRpdGxlIjogIkFubm91bmNpbmcgc2NoZW1hIDQuMiIsCiAgICAgICJ0aXRsZVR5cGUiOiBudWxsCiAgICB9CiAgXSwKICAicHVibGlzaGVyIjogIkRhdGFDaXRlIiwKICAiY29udGFpbmVyIjoge30sCiAgInN1YmplY3RzIjogWwogICAgewogICAgICAic3ViamVjdCI6ICJmZWF0dXJlZCIKICAgIH0KICBdLAogICJjb250cmlidXRvcnMiOiBbXSwKICAiZGF0ZXMiOiBbCiAgICB7CiAgICAgICJkYXRlIjogIjIwMTktMDMtMjBUMDc6MTc6NTIuNzkyWiIsCiAgICAgICJkYXRlVHlwZSI6ICJJc3N1ZWQiCiAgICB9LAogICAgewogICAgICAiZGF0ZSI6ICIyMDE5LTAzLTIwVDA3OjE3OjUyLjc5MloiLAogICAgICAiZGF0ZVR5cGUiOiAiQ3JlYXRlZCIKICAgIH0sCiAgICB7CiAgICAgICJkYXRlIjogIjIwMTktMDMtMjBUMDc6MTc6NTIuNzkyWiIsCiAgICAgICJkYXRlVHlwZSI6ICJVcGRhdGVkIgogICAgfQogIF0sCiAgInB1YmxpY2F0aW9uWWVhciI6IDIwMTksCiAgImlkZW50aWZpZXJzIjogWwogICAgewogICAgICAiaWRlbnRpZmllciI6ICJodHRwczovL2RvaS5vcmcvMTAuMTQ0NTQvY25lNy1hcjMxIiwKICAgICAgImlkZW50aWZpZXJUeXBlIjogIkRPSSIKICAgIH0KICBdLAogICJ2ZXJzaW9uIjogIjEuMCIsCiAgInJpZ2h0c0xpc3QiOiB7CiAgICAicmlnaHRzIjogbnVsbCwKICAgICJyaWdodHNVcmkiOiBudWxsCiAgfSwKICAiZGVzY3JpcHRpb25zIjogWwogICAgewogICAgICAibGFuZyI6IG51bGwsCiAgICAgICJ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T8tTCk5uk2nImoDY4+p1WzJl2ytjwEVzo2lxGWuq1s/+GhmvEYAq1XYNRhWawwgQ+gQRNfRUreLIBIl58dkwDtUq7nP7ybmWaaJF0Cw5/SY0APSA3KuWy4q7MjtlBrkEbJZG+sa75A8iriuHIM6dbLvZXHfqDleY5F5xarmSTUzuvo9wsvcBVatwPCwN3mrc3TSvttqqLbAVbZCAtzznm8tprGCePT9J8PR39gP+tD+8LX94EDfyl+vd3ZwkPbubtcnsLUprx7HVJXdJeh2GMnxC/4zD5MJ+Gs9NZ8l8kh4KWNxeLy56S/O/LoF9AGZDbLQUBA/KFZvjLJfyUjnq8u1pqIv2snEDkltxJDKoNt3uicrICtpEKT9f+/xfZGMZsdh/PfzGRnc4/TMJJMpq+h8hOquICy62Anr4lqHQdURZCNIvgsY77vGnUpGyfJInGQRdXqdERHIXcFangZlNW3Ok9AVPSUpSmMz2XrdUU6VdgtifFyuJYcmy/hYYsOArl+DRPi7o3l7N46fSV7KYd2TgezcN4Eo7jVTw7G83OpuNoNh//eSjQIevTtjCmaAIP3oPxwl0m70t5t8talN2dYP5M/AHULbqjHZQ3f0fsJd4faN8CglEUl1um+XpjzWdubPt2dnMd+VRz5cGoRFFucAaGab5zSfygDlse/ireAKllRL6Ape5RQW5LYXJDLNpTavBfrrQfbWvQXhUEZbTllljVkERkgWMQwniA86APlAuaCiC4JCIzhMqMGKsL5nTniRGqD8wamNKZGXggt9/++deQxw215BHIAxXc7QehaxS78bG39B4wFeQCXOW93bjDhSlTg97EbFQhMpJiaqtW/lEUBX2rUm/7eYopUmaP912DcHLoa2jNwntMi2thrvFhtcwPAV+xVI+/aTI5rfuWMW382y+pt0nr+JfLxXEZZe/5/SBK1z7dO7X9qCxBw3vQEkRY3tABvgcfUOF64d+3Nb7qQYJj7K4l6kLoGiTbv25fxlanM+cyc2oJTl6+AwAA//8DAE8N/mVICwAA http_version: - recorded_at: Sun, 15 Dec 2019 22:41:02 GMT + recorded_at: Fri, 08 May 2020 13:41:51 GMT recorded_with: VCR 3.0.3 diff --git a/spec/fixtures/vcr_cassettes/content_negotiation/application/x-research-info-systems/header.yml b/spec/fixtures/vcr_cassettes/content_negotiation/application/x-research-info-systems/header.yml index ee5945c..aac6535 100644 --- a/spec/fixtures/vcr_cassettes/content_negotiation/application/x-research-info-systems/header.yml +++ b/spec/fixtures/vcr_cassettes/content_negotiation/application/x-research-info-systems/header.yml @@ -8,16 +8,18 @@ http_interactions: string: '' headers: User-Agent: - - Mozilla/5.0 (compatible; Maremma/4.4; mailto:info@datacite.org) + - Mozilla/5.0 (compatible; Maremma/4.6.1; mailto:info@datacite.org) Accept: - application/vnd.datacite.datacite+json + Accept-Encoding: + - gzip response: status: code: 200 - message: '' + message: OK headers: Date: - - Sun, 15 Dec 2019 22:41:01 GMT + - Fri, 08 May 2020 13:41:50 GMT Content-Type: - application/vnd.datacite.datacite+json; charset=utf-8 Connection: @@ -30,20 +32,22 @@ http_interactions: - max-age=0, private, must-revalidate Vary: - Accept-Encoding, Origin + Content-Encoding: + - gzip X-Request-Id: - - 41f45f08-122a-4836-96d2-3107f6c2dcea + - 1747ba00-98ec-402a-ba50-07742712ebc1 Etag: - - W/"37fcf41a8fbf601eac15785399ed4c78" + - W/"0280c56c895a024ebdebe3999233c4a3" X-Runtime: - - '0.013234' + - '0.022262' X-Powered-By: - Phusion Passenger 6.0.4 Server: - - nginx/1.17.3 + Phusion Passenger 6.0.4 + - nginx/1.14.0 + Phusion Passenger 6.0.4 body: encoding: ASCII-8BIT string: !binary |- - ewogICJpZCI6ICJodHRwczovL2RvaS5vcmcvMTAuMTQ0NTQvY25lNy1hcjMxIiwKICAiZG9pIjogIjEwLjE0NDU0L0NORTctQVIzMSIsCiAgInVybCI6ICJodHRwczovL2Jsb2cuZGF0YWNpdGUub3JnL2Fubm91bmNpbmctc2NoZW1hLTQtMi8iLAogICJ0eXBlcyI6IHsKICAgICJyaXMiOiAiR0VOIiwKICAgICJiaWJ0ZXgiOiAiYXJ0aWNsZSIsCiAgICAiY2l0ZXByb2MiOiAicG9zdC13ZWJsb2ciLAogICAgInNjaGVtYU9yZyI6ICJCbG9nUG9zdGluZyIsCiAgICAicmVzb3VyY2VUeXBlR2VuZXJhbCI6ICJUZXh0IgogIH0sCiAgImNyZWF0b3JzIjogWwogICAgewogICAgICAibmFtZSI6ICJEYXNsZXIsIFJvYmluIiwKICAgICAgIm5hbWVUeXBlIjogIlBlcnNvbmFsIiwKICAgICAgImdpdmVuTmFtZSI6ICJSb2JpbiIsCiAgICAgICJmYW1pbHlOYW1lIjogIkRhc2xlciIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEYXRhQ2l0ZSIsCiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vcm9yLm9yZyIsCiAgICAgICAgICAiYWZmaWxpYXRpb25JZGVudGlmaWVyIjogImh0dHBzOi8vcm9yLm9yZy8wNHd4bnNqODEiLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllclNjaGVtZSI6ICJST1IiCiAgICAgICAgfQogICAgICBdLAogICAgICAibmFtZUlkZW50aWZpZXJzIjogWwogICAgICAgIHsKICAgICAgICAgICJzY2hlbWVVcmkiOiAiaHR0cHM6Ly9vcmNpZC5vcmciLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyIjogImh0dHBzOi8vb3JjaWQub3JnLzAwMDAtMDAwMi00Njk1LTc4NzQiLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyU2NoZW1lIjogIk9SQ0lEIgogICAgICAgIH0KICAgICAgXQogICAgfSwKICAgIHsKICAgICAgIm5hbWUiOiAiZGUgU21hZWxlLCBNYWRlbGVpbmUiLAogICAgICAibmFtZVR5cGUiOiAiUGVyc29uYWwiLAogICAgICAiZ2l2ZW5OYW1lIjogIk1hZGVsZWluZSIsCiAgICAgICJmYW1pbHlOYW1lIjogImRlIFNtYWVsZSIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEZWxmdCBVbml2ZXJzaXR5IG9mIFRlY2hub2xvZ3kiLAogICAgICAgICAgInNjaGVtZVVyaSI6ICJodHRwczovL3Jvci5vcmciLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllciI6ICJodHRwczovL3Jvci5vcmcvMDJlMmM3azA5IiwKICAgICAgICAgICJhZmZpbGlhdGlvbklkZW50aWZpZXJTY2hlbWUiOiAiUk9SIgogICAgICAgIH0KICAgICAgXSwKICAgICAgIm5hbWVJZGVudGlmaWVycyI6IFsKICAgICAgICB7CiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vb3JjaWQub3JnIiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllciI6ICJodHRwczovL29yY2lkLm9yZy8wMDAwLTAwMDItODk2My0zNDE1IiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllclNjaGVtZSI6ICJPUkNJRCIKICAgICAgICB9CiAgICAgIF0KICAgIH0KICBdLAogICJ0aXRsZXMiOiBbCiAgICB7CiAgICAgICJsYW5nIjogbnVsbCwKICAgICAgInRpdGxlIjogIkFubm91bmNpbmcgc2NoZW1hIDQuMiIsCiAgICAgICJ0aXRsZVR5cGUiOiBudWxsCiAgICB9CiAgXSwKICAicHVibGlzaGVyIjogIkRhdGFDaXRlIiwKICAiY29udGFpbmVyIjoge30sCiAgInN1YmplY3RzIjogWwogICAgewogICAgICAic3ViamVjdCI6ICJmZWF0dXJlZCIKICAgIH0KICBdLAogICJjb250cmlidXRvcnMiOiBbXSwKICAiZGF0ZXMiOiBbCiAgICB7CiAgICAgICJkYXRlIjogIjIwMTktMDMtMjBUMDc6MTc6NTIuNzkyWiIsCiAgICAgICJkYXRlVHlwZSI6ICJJc3N1ZWQiCiAgICB9LAogICAgewogICAgICAiZGF0ZSI6ICIyMDE5LTAzLTIwVDA3OjE3OjUyLjc5MloiLAogICAgICAiZGF0ZVR5cGUiOiAiQ3J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N2dYP5M/AHULbqjHZQ3f0fsJd4faN8CglEUl1um+XpjzWdubPt2dnMd+VRz5cGoRFFucAaGab5zSfygDlse/ireAKllRL6Ape5RQW5LYXJDLNpTavBfrrQfbWvQXhUEZbTllljVkERkgWMQwniA86APlAuaCiC4JCIzhMqMGKsL5nTniRGqD8wamNKZGXggt9/++deQxw215BHIAxXc7QehaxS78bG39B4wFeQCXOW93bjDhSlTg97EbFQhMpJiaqtW/lEUBX2rUm/7eYopUmaP912DcHLoa2jNwntMi2thrvFhtcwPAV+xVI+/aTI5rfuWMW382y+pt0nr+JfLxXEZZe/5/SBK1z7dO7X9qCxBw3vQEkRY3tABvgcfUOF64d+3Nb7qQYJj7K4l6kLoGiTbv25fxlanM+cyc2oJTl6+AwAA//8DAE8N/mVICwAA http_version: - recorded_at: Sun, 15 Dec 2019 22:41:01 GMT + recorded_at: Fri, 08 May 2020 13:41:50 GMT recorded_with: VCR 3.0.3 diff --git a/spec/fixtures/vcr_cassettes/content_negotiation/application/x-research-info-systems/link.yml b/spec/fixtures/vcr_cassettes/content_negotiation/application/x-research-info-systems/link.yml index d4e73bd..204c0a7 100644 --- a/spec/fixtures/vcr_cassettes/content_negotiation/application/x-research-info-systems/link.yml +++ b/spec/fixtures/vcr_cassettes/content_negotiation/application/x-research-info-systems/link.yml @@ -8,16 +8,18 @@ http_interactions: string: '' headers: User-Agent: - - Mozilla/5.0 (compatible; Maremma/4.4; mailto:info@datacite.org) + - Mozilla/5.0 (compatible; Maremma/4.6.1; mailto:info@datacite.org) Accept: - application/vnd.datacite.datacite+json + Accept-Encoding: + - gzip response: status: code: 200 - message: '' + message: OK headers: Date: - - Sun, 15 Dec 2019 22:41:01 GMT + - Fri, 08 May 2020 13:41:51 GMT Content-Type: - application/vnd.datacite.datacite+json; charset=utf-8 Connection: @@ -30,20 +32,22 @@ http_interactions: - max-age=0, private, must-revalidate Vary: - Accept-Encoding, Origin + Content-Encoding: + - gzip X-Request-Id: - - 0fe2c2e0-a6b7-489f-b5c4-c542e9351889 + - 108700cb-21e5-4316-b385-ce4dfae17311 Etag: - - W/"37fcf41a8fbf601eac15785399ed4c78" + - W/"01c200f5341f64b89454bf29d9bd1bd0" X-Runtime: - - '0.013191' + - '0.021971' X-Powered-By: - Phusion Passenger 6.0.4 Server: - - nginx/1.17.3 + Phusion Passenger 6.0.4 + - nginx/1.14.0 + Phusion Passenger 6.0.4 body: encoding: ASCII-8BIT string: !binary |- - ewogICJpZCI6ICJodHRwczovL2RvaS5vcmcvMTAuMTQ0NTQvY25lNy1hcjMxIiwKICAiZG9pIjogIjEwLjE0NDU0L0NORTctQVIzMSIsCiAgInVybCI6ICJodHRwczovL2Jsb2cuZGF0YWNpdGUub3JnL2Fubm91bmNpbmctc2NoZW1hLTQtMi8iLAogICJ0eXBlcyI6IHsKICAgICJyaXMiOiAiR0VOIiwKICAgICJiaWJ0ZXgiOiAiYXJ0aWNsZSIsCiAgICAiY2l0ZXByb2MiOiAicG9zdC13ZWJsb2ciLAogICAgInNjaGVtYU9yZyI6ICJCbG9nUG9zdGluZyIsCiAgICAicmVzb3VyY2VUeXBlR2VuZXJhbCI6ICJUZXh0IgogIH0sCiAgImNyZWF0b3JzIjogWwogICAgewogICAgICAibmFtZSI6ICJEYXNsZXIsIFJvYmluIiwKICAgICAgIm5hbWVUeXBlIjogIlBlcnNvbmFsIiwKICAgICAgImdpdmVuTmFtZSI6ICJSb2JpbiIsCiAgICAgICJmYW1pbHlOYW1lIjogIkRhc2xlciIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEYXRhQ2l0ZSIsCiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vcm9yLm9yZyIsCiAgICAgICAgICAiYWZmaWxpYXRpb25JZGVudGlmaWVyIjogImh0dHBzOi8vcm9yLm9yZy8wNHd4bnNqODEiLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllclNjaGVtZSI6ICJST1IiCiAgICAgICAgfQogICAgICBdLAogICAgICAibmFtZUlkZW50aWZpZXJzIjogWwogICAgICAgIHsKICAgICAgICAgICJzY2hlbWVVcmkiOiAiaHR0cHM6Ly9vcmNpZC5vcmciLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyIjogImh0dHBzOi8vb3JjaWQub3JnLzAwMDAtMDAwMi00Njk1LTc4NzQiLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyU2NoZW1lIjogIk9SQ0lEIgogICAgICAgIH0KICAgICAgXQogICAgfSwKICAgIHsKICAgICAgIm5hbWUiOiAiZGUgU21hZWxlLCBNYWRlbGVpbmUiLAogICAgICAibmFtZVR5cGUiOiAiUGVyc29uYWwiLAogICAgICAiZ2l2ZW5OYW1lIjogIk1hZGVsZWluZSIsCiAgICAgICJmYW1pbHlOYW1lIjogImRlIFNtYWVsZSIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEZWxmdCBVbml2ZXJzaXR5IG9mIFRlY2hub2xvZ3kiLAogICAgICAgICAgInNjaGVtZVVyaSI6ICJodHRwczovL3Jvci5vcmciLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllciI6ICJodHRwczovL3Jvci5vcmcvMDJlMmM3azA5IiwKICAgICAgICAgICJhZmZpbGlhdGlvbklkZW50aWZpZXJTY2hlbWUiOiAiUk9SIgogICAgICAgIH0KICAgICAgXSwKICAgICAgIm5hbWVJZGVudGlmaWVycyI6IFsKICAgICAgICB7CiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vb3JjaWQub3JnIiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllciI6ICJodHRwczovL29yY2lkLm9yZy8wMDAwLTAwMDItODk2My0zNDE1IiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllclNjaGVtZSI6ICJPUkNJRCIKICAgICAgICB9CiAgICAgIF0KICAgIH0KICBdLAogICJ0aXRsZXMiOiBbCiAgICB7CiAgICAgICJsYW5nIjogbnVsbCwKICAgICAgInRpdGxlIjogIkFubm91bmNpbmcgc2NoZW1hIDQuMiIsCiAgICAgICJ0aXRsZVR5cGUiOiBudWxsCiAgICB9CiAgXSwKICAicHVibGlzaGVyIjogIkRhdGFDaXRlIiwKICAiY29udGFpbmVyIjoge30sCiAgInN1YmplY3RzIjogWwogICAgewogICAgICAic3ViamVjdCI6ICJmZWF0dXJlZCIKICAgIH0KICBdLAogICJjb250cmlidXRvcnMiOiBbXSwKICAiZGF0ZXMiOiBbCiAgICB7CiAgICAgICJkYXRlIjogIjIwMTktMDMtMjBUMDc6MTc6NTIuNzkyWiIsCiAgICAgICJkYXRlVHlwZSI6ICJJc3N1ZWQiCiAgICB9LAogICAgewogICAgICAiZGF0ZSI6ICIyMDE5LTAzLTIwVDA3OjE3OjUyLjc5MloiLAogICAgICAiZGF0ZVR5cGUiOiAiQ3JlYXRlZCIKICAgIH0sCiAgICB7CiAgICAgICJkYXRlIjogIjIwMTktMDMtMjBUMDc6MTc6NTIuNzkyWiIsCiAgICAgICJkYXRlVHlwZSI6ICJVcGRhdGVkIgogICAgfQogIF0sCiAgInB1YmxpY2F0aW9uWWVhciI6IDIwMTksCiAgImlkZW50aWZpZXJzIjogWwogICAgewogICAgICAiaWRlbnRpZmllciI6ICJodHRwczovL2RvaS5vcmcvMTAuMTQ0NTQvY25lNy1hcjMxIiwKICAgICAgImlkZW50aWZpZXJUeXBlIjogIkRPSSIKICAgIH0KICBdLAogICJ2ZXJzaW9uIjogIjEuMCIsCiAgInJpZ2h0c0xpc3QiOiB7CiAgICAicmlnaHRzIjogbnVsbCwKICAgICJyaWdodHNVcmkiOiBudWxsCiAgfSwKICAiZGVzY3JpcHRpb25zIjogWwogICAgewogICAgICAibGFuZyI6IG51bGwsCiAgICAgICJkZXNjcmlwdGlvbiI6ICJUaGUgRGF0YUNpdGUgTWV0YWRhdGEgU2NoZW1hIGlzIHRoZSBiYXNpcyBmb3IgdGhlIG1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ybmWaaJF0Cw5/SY0APSA3KuWy4q7MjtlBrkEbJZG+sa75A8iriuHIM6dbLvZXHfqDleY5F5xarmSTUzuvo9wsvcBVatwPCwN3mrc3TSvttqqLbAVbZCAtzznm8tprGCePT9J8PR39gP+tD+8LX94EDfyl+vd3ZwkPbubtcnsLUprx7HVJXdJeh2GMnxC/4zD5MJ+Gs9NZ8l8kh4KWNxeLy56S/O/LoF9AGZDbLQUBA/KFZvjLJfyUjnq8u1pqIv2snEDkltxJDKoNt3uicrICtpEKT9f+/xfZGMZsdh/PfzGRnc4/TMJJMpq+h8hOquICy62Anr4lqHQdURZCNIvgsY77vGnUpGyfJInGQRdXqdERHIXcFangZlNW3Ok9AVPSUpSmMz2XrdUU6VdgtifFyuJYcmy/hYYsOArl+DRPi7o3l7N46fSV7KYd2TgezcN4Eo7jVTw7G83OpuNoNh//eSjQIevTtjCmaAIP3oPxwl0m70t5t8talN2dYP5M/AHULbqjHZQ3f0fsJd4faN8CglEUl1um+XpjzWdubPt2dnMd+VRz5cGoRFFucAaGab5zSfygDlse/ireAKllRL6Ape5RQW5LYXJDLNpTavBfrrQfbWvQXhUEZbTllljVkERkgWMQwniA86APlAuaCiC4JCIzhMqMGKsL5nTniRGqD8wamNKZGXggt9/++deQxw215BHIAxXc7QehaxS78bG39B4wFeQCXOW93bjDhSlTg97EbFQhMpJiaqtW/lEUBX2rUm/7eYopUmaP912DcHLoa2jNwntMi2thrvFhtcwPAV+xVI+/aTI5rfuWMW382y+pt0nr+JfLxXEZZe/5/SBK1z7dO7X9qCxBw3vQEkRY3tABvgcfUOF64d+3Nb7qQYJj7K4l6kLoGiTbv25fxlanM+cyc2oJTl6+AwAA//8DAE8N/mVICwAA http_version: - recorded_at: Sun, 15 Dec 2019 22:41:01 GMT + recorded_at: Fri, 08 May 2020 13:41:51 GMT recorded_with: VCR 3.0.3 diff --git a/spec/fixtures/vcr_cassettes/content_negotiation/registration_agency_op/header.yml b/spec/fixtures/vcr_cassettes/content_negotiation/registration_agency_op/header.yml index ba15015..94e694b 100644 --- a/spec/fixtures/vcr_cassettes/content_negotiation/registration_agency_op/header.yml +++ b/spec/fixtures/vcr_cassettes/content_negotiation/registration_agency_op/header.yml @@ -8,16 +8,18 @@ http_interactions: string: '' headers: User-Agent: - - Mozilla/5.0 (compatible; Maremma/4.4; mailto:info@datacite.org) + - Mozilla/5.0 (compatible; Maremma/4.6.1; mailto:info@datacite.org) Accept: - application/vnd.datacite.datacite+json + Accept-Encoding: + - gzip response: status: code: 404 - message: '' + message: Not Found headers: Date: - - Sun, 15 Dec 2019 22:41:04 GMT + - Fri, 08 May 2020 13:41:53 GMT Content-Type: - application/json; charset=utf-8 Connection: @@ -28,20 +30,22 @@ http_interactions: - no-cache Vary: - Accept-Encoding, Origin + Content-Encoding: + - gzip X-Request-Id: - - dc3c5cbb-f93a-4444-a903-552f66339610 + - 6fd751c0-7afb-404a-8e52-d03c5cb433a0 X-Runtime: - - '0.004784' + - '0.015963' X-Powered-By: - Phusion Passenger 6.0.4 Server: - - nginx/1.17.3 + Phusion Passenger 6.0.4 + - nginx/1.14.0 + Phusion Passenger 6.0.4 body: encoding: ASCII-8BIT - string: '{"errors":[{"status":"404","title":"The resource you are looking for - doesn''t exist."}]}' + string: !binary |- + H4sIAKFhtV4AAwzHMQqAMAwF0KuELC4iDp08h5s4FP1qsTSQpKCId9ftvYehKmo8TA+bR68/OfSBW/bkGf/GA6QwqbqAbqkUFZRFzlR22kRpFVhpnHAl847f+f0AAAD//wMArpOW4VcAAAA= http_version: - recorded_at: Sun, 15 Dec 2019 22:41:04 GMT + recorded_at: Fri, 08 May 2020 13:41:53 GMT - request: method: get uri: https://api.crossref.org/works/10.2788/011817/transform/application/vnd.crossref.unixsd+xml @@ -50,13 +54,15 @@ http_interactions: string: '' headers: User-Agent: - - Mozilla/5.0 (compatible; Maremma/4.4; mailto:info@datacite.org) + - Mozilla/5.0 (compatible; Maremma/4.6.1; mailto:info@datacite.org) Accept: - text/xml + Accept-Encoding: + - gzip,deflate response: status: code: 404 - message: '' + message: Not Found headers: Content-Type: - text/plain @@ -69,7 +75,7 @@ http_interactions: Server: - http-kit Date: - - Sun, 15 Dec 2019 22:41:04 GMT + - Fri, 08 May 2020 13:41:54 GMT X-Rate-Limit-Limit: - '50' X-Rate-Limit-Interval: @@ -80,7 +86,7 @@ http_interactions: encoding: ASCII-8BIT string: Resource not found. http_version: - recorded_at: Sun, 15 Dec 2019 22:41:05 GMT + recorded_at: Fri, 08 May 2020 13:41:54 GMT - request: method: get uri: https://doi.org/ra/10.2788 @@ -89,42 +95,43 @@ http_interactions: string: '' headers: User-Agent: - - Mozilla/5.0 (compatible; Maremma/4.4; mailto:info@datacite.org) + - Mozilla/5.0 (compatible; Maremma/4.6.1; mailto:info@datacite.org) Accept: - text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5 + Accept-Encoding: + - gzip,deflate response: status: code: 200 message: '' headers: Date: - - Sun, 15 Dec 2019 22:41:05 GMT + - Fri, 08 May 2020 13:41:54 GMT Content-Type: - application/json;charset=UTF-8 Connection: - keep-alive Set-Cookie: - - __cfduid=d6080baf9f5f8adbbe0a3a36a5020022f1576449665; expires=Tue, 14-Jan-20 - 22:41:05 GMT; path=/; domain=.doi.org; HttpOnly; Secure + - __cfduid=dd2df9acd8a3fcb9f8a55df510b64e0461588945314; expires=Sun, 07-Jun-20 + 13:41:54 GMT; path=/; domain=.doi.org; HttpOnly; SameSite=Lax; Secure + Content-Encoding: + - gzip Cf-Cache-Status: - DYNAMIC - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload Expect-Ct: - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload Server: - cloudflare Cf-Ray: - - 545bec46e94fc765-AMS + - 590399d5cfa7177a-FRA + Cf-Request-Id: + - '02961e799a0000177ab8b36200000001' body: encoding: ASCII-8BIT - string: |- - [ - { - "DOI": "10.2788", - "RA": "OP" - } - ] + string: !binary |- + H4sIAAAAAAAAA4vmUlCoBmIFBSUXf08lKwUlQwM9I3MLCyUdiGiQI0jQP0AJyK3ligUAt5t7gTAAAAA= http_version: - recorded_at: Sun, 15 Dec 2019 22:41:05 GMT + recorded_at: Fri, 08 May 2020 13:41:54 GMT recorded_with: VCR 3.0.3 diff --git a/spec/fixtures/vcr_cassettes/content_negotiation/registration_agency_op_in_datacite_index/header.yml b/spec/fixtures/vcr_cassettes/content_negotiation/registration_agency_op_in_datacite_index/header.yml index 081b191..2239a66 100644 --- a/spec/fixtures/vcr_cassettes/content_negotiation/registration_agency_op_in_datacite_index/header.yml +++ b/spec/fixtures/vcr_cassettes/content_negotiation/registration_agency_op_in_datacite_index/header.yml @@ -8,16 +8,18 @@ http_interactions: string: '' headers: User-Agent: - - Mozilla/5.0 (compatible; Maremma/4.4; mailto:info@datacite.org) + - Mozilla/5.0 (compatible; Maremma/4.6.1; mailto:info@datacite.org) Accept: - application/vnd.datacite.datacite+json + Accept-Encoding: + - gzip response: status: code: 200 - message: '' + message: OK headers: Date: - - Sun, 15 Dec 2019 22:41:04 GMT + - Fri, 08 May 2020 13:41:53 GMT Content-Type: - application/vnd.datacite.datacite+json; charset=utf-8 Connection: @@ -30,90 +32,22 @@ http_interactions: - max-age=0, private, must-revalidate Vary: - Accept-Encoding, Origin + Content-Encoding: + - gzip X-Request-Id: - - 996d274c-d910-4622-a59d-43eaa7d0c6c2 + - e485d000-84f4-4824-9980-82f51fd9e30d Etag: - - W/"68cb05008696f87662648c4e093c68b5" + - W/"117b8ecae4f750afa5a4e7845cdc721a" X-Runtime: - - '0.012714' + - '0.022317' X-Powered-By: - Phusion Passenger 6.0.4 Server: - - nginx/1.17.3 + Phusion Passenger 6.0.4 + - nginx/1.14.0 + Phusion Passenger 6.0.4 body: encoding: ASCII-8BIT - string: |- - { - "id": "https://doi.org/10.2899/caricom/1", - "doi": "10.2899/CARICOM/1", - "types": { - "ris": "DATA", - "bibtex": "misc", - "citeproc": "dataset", - "schemaOrg": "Dataset", - "resourceType": "Dataset", - "resourceTypeGeneral": "Dataset" - }, - "creators": [ - { - "name": "Caribbean Community", - "affiliation": [] - } - ], - "titles": [ - { - "lang": "en", - "title": "OP DOI RA Test" - } - ], - "publisher": "Publications Office", - "container": {}, - "subjects": [ - { - "subject": "Economy and finance", - "valueUri": "http://publications.europa.eu/resource/authority/data-theme/ECON", - "schemeUri": "http://publications.europa.eu/resource/authority/data-theme", - "subjectScheme": "MDR Data Themes" - } - ], - "contributors": [], - "dates": [ - { - "date": "2018/10/10", - "dateType": "Issued" - } - ], - "publicationYear": 2018, - "identifiers": [ - { - "identifier": "https://handle.test.datacite.org/10.2899/caricom/1", - "identifierType": "DOI" - } - ], - "sizes": [], - "formats": [], - "rightsList": [], - "descriptions": [ - { - "lang": "fr", - "description": "french description", - "descriptionType": "Abstract" - }, - { - "lang": "en", - "description": "english description", - "descriptionType": "Abstract" - } - ], - "geoLocations": [], - "fundingReferences": [], - "relatedIdentifiers": [], - "schemaVersion": "http://datacite.org/schema/kernel-4", - "providerId": "europ", - "clientId": "europ.test", - "agency": "DataCite", - "state": "findable" - } + string: !binary |- + H4sIAKFhtV4AA6xUUWvbMBB+768QeU7jpuyh7Vtwygi0c8mywSh9kOWzrc2WjCSXZSH/fXeS3SghW2EMSoq+7/zd6b477S4Ym8hicscmtXOdvUuSQsuZNlUyv5pd39zeJoIbKXSbzCdTCkaaokc2XaxXafY4sm7bgUV+hwc8GkmHyXKxWXgeoVzmDn4S2korRlRIB53RgvCCO27BjZQVNbQ8M5VXOuYMWN0bARtM+w79ERQY3sRRGLT3VQsD3GlDtT77L0P5yCjeeuEUm5DnwBVLddv2SrrtkASDeFnKRnIntSKFF4/v8fcl9ES6Bs5oN1z5O4E6SPlYArMntsxWbL1gG7C+1Fiy6/NG2hoMhT7RQfj0lmVYi4BghtDKcal81C7c1Pb5dxDuTDUDQ4L3+KFut4yrgpVScTUI+rhX3vTwxchxZHBiuqiAGfRGdxz/JWP3E967WhtsWULWXjr0E5L7NPt0UPUm/wfZSDHc57MXJtXH5ZqR82xDiD1tKTULPe7HOQgoKp+zjmDSvL6a3+Ci4N8hMXHjPK6s7aE461642Dfg5A7pTMMqgnKylHBuGA9kvK812tTADOt0M2oErdJfFvhE6W1zstVpmVb+gqgVpTYtdxFgZFU7+yCti/oFVhjZec/+PPGlidp1+CJQoETNYvRc6Fj2IrfOcDEuyPT9DTvJB6qiTfrXhG/NqkA/6GFYo571qpCqWkMJdK+4nQYaHJRidWz40Hn/5H1FbKhy2Igje0NQ8gOMgubyQ1h5fENf0Vyz8k+6X5rhLWgkJopgPzCB4xXWth1fxhQTBNy6YczxESh4jg/Txf43AAAA//8DAFBV1u0xBgAA http_version: - recorded_at: Sun, 15 Dec 2019 22:41:04 GMT + recorded_at: Fri, 08 May 2020 13:41:53 GMT recorded_with: VCR 3.0.3 diff --git a/spec/fixtures/vcr_cassettes/content_negotiation/registration_agency_op_in_datacite_index/link.yml b/spec/fixtures/vcr_cassettes/content_negotiation/registration_agency_op_in_datacite_index/link.yml index 47766a3..5a9456a 100644 --- a/spec/fixtures/vcr_cassettes/content_negotiation/registration_agency_op_in_datacite_index/link.yml +++ b/spec/fixtures/vcr_cassettes/content_negotiation/registration_agency_op_in_datacite_index/link.yml @@ -8,16 +8,18 @@ http_interactions: string: '' headers: User-Agent: - - Mozilla/5.0 (compatible; Maremma/4.4; mailto:info@datacite.org) + - Mozilla/5.0 (compatible; Maremma/4.6.1; mailto:info@datacite.org) Accept: - application/vnd.datacite.datacite+json + Accept-Encoding: + - gzip response: status: code: 200 - message: '' + message: OK headers: Date: - - Sun, 15 Dec 2019 22:41:04 GMT + - Fri, 08 May 2020 13:41:53 GMT Content-Type: - application/vnd.datacite.datacite+json; charset=utf-8 Connection: @@ -30,90 +32,22 @@ http_interactions: - max-age=0, private, must-revalidate Vary: - Accept-Encoding, Origin + Content-Encoding: + - gzip X-Request-Id: - - ddaacb54-5106-4661-861a-609beffa462a + - 528043b6-f3c3-431f-8394-b2c97ad6c4a5 Etag: - - W/"68cb05008696f87662648c4e093c68b5" + - W/"117b8ecae4f750afa5a4e7845cdc721a" X-Runtime: - - '0.013326' + - '0.021208' X-Powered-By: - Phusion Passenger 6.0.4 Server: - - nginx/1.17.3 + Phusion Passenger 6.0.4 + - nginx/1.14.0 + Phusion Passenger 6.0.4 body: encoding: ASCII-8BIT - string: |- - { - "id": "https://doi.org/10.2899/caricom/1", - "doi": "10.2899/CARICOM/1", - "types": { - "ris": "DATA", - "bibtex": "misc", - "citeproc": "dataset", - "schemaOrg": "Dataset", - "resourceType": "Dataset", - "resourceTypeGeneral": "Dataset" - }, - "creators": [ - { - "name": "Caribbean Community", - "affiliation": [] - } - ], - "titles": [ - { - "lang": "en", - "title": "OP DOI RA Test" - } - ], - "publisher": "Publications Office", - "container": {}, - "subjects": [ - { - "subject": "Economy and finance", - "valueUri": "http://publications.europa.eu/resource/authority/data-theme/ECON", - "schemeUri": "http://publications.europa.eu/resource/authority/data-theme", - "subjectScheme": "MDR Data Themes" - } - ], - "contributors": [], - "dates": [ - { - "date": "2018/10/10", - "dateType": "Issued" - } - ], - "publicationYear": 2018, - "identifiers": [ - { - "identifier": "https://handle.test.datacite.org/10.2899/caricom/1", - "identifierType": "DOI" - } - ], - "sizes": [], - "formats": [], - "rightsList": [], - "descriptions": [ - { - "lang": "fr", - "description": "french description", - "descriptionType": "Abstract" - }, - { - "lang": "en", - "description": "english description", - "descriptionType": "Abstract" - } - ], - "geoLocations": [], - "fundingReferences": [], - "relatedIdentifiers": [], - "schemaVersion": "http://datacite.org/schema/kernel-4", - "providerId": "europ", - "clientId": "europ.test", - "agency": "DataCite", - "state": "findable" - } + string: !binary |- + H4sIAKFhtV4AA6xUUWvbMBB+768QeU7jpuyh7Vtwygi0c8mywSh9kOWzrc2WjCSXZSH/fXeS3SghW2EMSoq+7/zd6b477S4Ym8hicscmtXOdvUuSQsuZNlUyv5pd39zeJoIbKXSbzCdTCkaaokc2XaxXafY4sm7bgUV+hwc8GkmHyXKxWXgeoVzmDn4S2korRlRIB53RgvCCO27BjZQVNbQ8M5VXOuYMWN0bARtM+w79ERQY3sRRGLT3VQsD3GlDtT77L0P5yCjeeuEUm5DnwBVLddv2SrrtkASDeFnKRnIntSKFF4/v8fcl9ES6Bs5oN1z5O4E6SPlYArMntsxWbL1gG7C+1Fiy6/NG2hoMhT7RQfj0lmVYi4BghtDKcal81C7c1Pb5dxDuTDUDQ4L3+KFut4yrgpVScTUI+rhX3vTwxchxZHBiuqiAGfRGdxz/JWP3E967WhtsWULWXjr0E5L7NPt0UPUm/wfZSDHc57MXJtXH5ZqR82xDiD1tKTULPe7HOQgoKp+zjmDSvL6a3+Ci4N8hMXHjPK6s7aE461642Dfg5A7pTMMqgnKylHBuGA9kvK812tTADOt0M2oErdJfFvhE6W1zstVpmVb+gqgVpTYtdxFgZFU7+yCti/oFVhjZec/+PPGlidp1+CJQoETNYvRc6Fj2IrfOcDEuyPT9DTvJB6qiTfrXhG/NqkA/6GFYo571qpCqWkMJdK+4nQYaHJRidWz40Hn/5H1FbKhy2Igje0NQ8gOMgubyQ1h5fENf0Vyz8k+6X5rhLWgkJopgPzCB4xXWth1fxhQTBNy6YczxESh4jg/Txf43AAAA//8DAFBV1u0xBgAA http_version: - recorded_at: Sun, 15 Dec 2019 22:41:04 GMT + recorded_at: Fri, 08 May 2020 13:41:53 GMT recorded_with: VCR 3.0.3 diff --git a/spec/fixtures/vcr_cassettes/content_negotiation/text/x-bibliography/header.yml b/spec/fixtures/vcr_cassettes/content_negotiation/text/x-bibliography/header.yml index e041858..05aa2fd 100644 --- a/spec/fixtures/vcr_cassettes/content_negotiation/text/x-bibliography/header.yml +++ b/spec/fixtures/vcr_cassettes/content_negotiation/text/x-bibliography/header.yml @@ -8,16 +8,18 @@ http_interactions: string: '' headers: User-Agent: - - Mozilla/5.0 (compatible; Maremma/4.4; mailto:info@datacite.org) + - Mozilla/5.0 (compatible; Maremma/4.6.1; mailto:info@datacite.org) Accept: - application/vnd.datacite.datacite+json + Accept-Encoding: + - gzip response: status: code: 200 - message: '' + message: OK headers: Date: - - Sun, 15 Dec 2019 22:41:02 GMT + - Fri, 08 May 2020 13:41:51 GMT Content-Type: - application/vnd.datacite.datacite+json; charset=utf-8 Connection: @@ -30,20 +32,22 @@ http_interactions: - max-age=0, private, must-revalidate Vary: - Accept-Encoding, Origin + Content-Encoding: + - gzip X-Request-Id: - - aa8dda0c-4b0c-43dd-8f81-f401ce665dff + - 1a9533f9-ae71-4cf6-9108-02c616976dec Etag: - - W/"37fcf41a8fbf601eac15785399ed4c78" + - W/"01c200f5341f64b89454bf29d9bd1bd0" X-Runtime: - - '0.012925' + - '0.021947' X-Powered-By: - Phusion Passenger 6.0.4 Server: - - nginx/1.17.3 + Phusion Passenger 6.0.4 + - nginx/1.14.0 + Phusion Passenger 6.0.4 body: encoding: ASCII-8BIT string: !binary |- - ewogICJpZCI6ICJodHRwczovL2RvaS5vcmcvMTAuMTQ0NTQvY25lNy1hcjMxIiwKICAiZG9pIjogIjEwLjE0NDU0L0NORTctQVIzMSIsCiAgInVybCI6ICJodHRwczovL2Jsb2cuZGF0YWNpdGUub3JnL2Fubm91bmNpbmctc2NoZW1hLTQtMi8iLAogICJ0eXBlcyI6IHsKICAgICJyaXMiOiAiR0VOIiwKICAgICJiaWJ0ZXgiOiAiYXJ0aWNsZSIsCiAgICAiY2l0ZXByb2MiOiAicG9zdC13ZWJsb2ciLAogICAgInNjaGVtYU9yZyI6ICJCbG9nUG9zdGluZyIsCiAgICAicmVzb3VyY2VUeXBlR2VuZXJhbCI6ICJUZXh0IgogIH0sCiAgImNyZWF0b3JzIjogWwogICAgewogICAgICAibmFtZSI6ICJEYXNsZXIsIFJvYmluIiwKICAgICAgIm5hbWVUeXBlIjogIlBlcnNvbmFsIiwKICAgICAgImdpdmVuTmFtZSI6ICJSb2JpbiIsCiAgICAgICJmYW1pbHlOYW1lIjogIkRhc2xlciIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEYXRhQ2l0ZSIsCiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vcm9yLm9yZyIsCiAgICAgICAgICAiYWZmaWxpYXRpb25JZGVudGlmaWVyIjogImh0dHBzOi8vcm9yLm9yZy8wNHd4bnNqODEiLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllclNjaGVtZSI6ICJST1IiCiAgICAgICAgfQogICAgICBdLAogICAgICAibmFtZUlkZW50aWZpZXJzIjogWwogICAgICAgIHsKICAgICAgICAgICJzY2hlbWVVcmkiOiAiaHR0cHM6Ly9vcmNpZC5vcmciLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyIjogImh0dHBzOi8vb3JjaWQub3JnLzAwMDAtMDAwMi00Njk1LTc4NzQiLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyU2NoZW1lIjogIk9SQ0lEIgogICAgICAgIH0KICAgICAgXQogICAgfSwKICAgIHsKICAgICAgIm5hbWUiOiAiZGUgU21hZWxlLCBNYWRlbGVpbmUiLAogICAgICAibmFtZVR5cGUiOiAiUGVyc29uYWwiLAogICAgICAiZ2l2ZW5OYW1lIjogIk1hZGVsZWluZSIsCiAgICAgICJmYW1pbHlOYW1lIjogImRlIFNtYWVsZSIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEZWxmdCBVbml2ZXJzaXR5IG9mIFRlY2hub2xvZ3kiLAogICAgICAgICAgInNjaGVtZVVyaSI6ICJodHRwczovL3Jvci5vcmciLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllciI6ICJodHRwczovL3Jvci5vcmcvMDJlMmM3azA5IiwKICAgICAgICAgICJhZmZpbGlhdGlvbklkZW50aWZpZXJTY2hlbWUiOiAiUk9SIgogICAgICAgIH0KICAgICAgXSwKICAgICAgIm5hbWVJZGVudGlmaWVycyI6IFsKICAgICAgICB7CiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vb3JjaWQub3JnIiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllciI6ICJodHRwczovL29yY2lkLm9yZy8wMDAwLTAwMDItODk2My0zNDE1IiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllclNjaGVtZSI6ICJPUkNJRCIKICAgICAgICB9CiAgICAgIF0KICAgIH0KICBdLAogICJ0aXRsZXMiOiBbCiAgICB7CiAgICAgICJsYW5nIjogbnVsbCwKICAgICAgInRpdGxlIjogIkFubm91bmNpbmcgc2NoZW1hIDQuMiIsCiAgICAgICJ0aXRsZVR5cGUiOiBudWxsCiAgICB9CiAgXSwKICAicHVibGlzaGVyIjogIkRhdGFDaXRlIiwKICAiY29udGFpbmVyIjoge30sCiAgInN1YmplY3RzIjogWwogICAgewogICAgICAic3ViamVjdCI6ICJmZWF0dXJlZCIKICAgIH0KICBdLAogICJjb250cmlidXRvcnMiOiBbXSwKICAiZGF0ZXMiOiBbCiAgICB7CiAgICAgICJkYXRlIjogIjIwMTktMDMtMjBUMDc6MTc6NTIuNzkyWiIsCiAgICAgICJkYXRlVHlwZSI6ICJJc3N1ZWQiCiAgICB9LAogICAgewogICAgICAiZGF0ZSI6ICIyMDE5LTAzLTIwVDA3OjE3OjUyLjc5MloiLAogICAgICAiZGF0ZVR5cGUiOiAiQ3JlYXRlZCIKICAgIH0sCiAgICB7CiAgICAgICJkYXRlIjogIjIwMTktMDMtMjBUMDc6MTc6NTIuNzkyWiIsCiAgICAgICJkYXRlVHlwZSI6ICJVcGRhdGVkIgogICAgfQogIF0sCiAgInB1YmxpY2F0aW9uWWVhciI6IDIwMTksCiAgImlkZW50aWZpZXJzIjogWwogICAgewogICAgICAiaWRlbnRpZmllciI6ICJodHRwczovL2RvaS5vcmcvMTAuMTQ0NTQvY25lNy1hcjMxIiwKICAgICAgImlkZW50aWZpZXJUeXBlIjogIkRPSSIKICAgIH0KICBdLAogICJ2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ZZe/5/SBK1z7dO7X9qCxBw3vQEkRY3tABvgcfUOF64d+3Nb7qQYJj7K4l6kLoGiTbv25fxlanM+cyc2oJTl6+AwAA//8DAE8N/mVICwAA http_version: - recorded_at: Sun, 15 Dec 2019 22:41:02 GMT + recorded_at: Fri, 08 May 2020 13:41:51 GMT recorded_with: VCR 3.0.3 diff --git a/spec/fixtures/vcr_cassettes/content_negotiation/text/x-bibliography/link.yml b/spec/fixtures/vcr_cassettes/content_negotiation/text/x-bibliography/link.yml index 7ac1551..5076b2e 100644 --- a/spec/fixtures/vcr_cassettes/content_negotiation/text/x-bibliography/link.yml +++ b/spec/fixtures/vcr_cassettes/content_negotiation/text/x-bibliography/link.yml @@ -8,16 +8,18 @@ http_interactions: string: '' headers: User-Agent: - - Mozilla/5.0 (compatible; Maremma/4.4; mailto:info@datacite.org) + - Mozilla/5.0 (compatible; Maremma/4.6.1; mailto:info@datacite.org) Accept: - application/vnd.datacite.datacite+json + Accept-Encoding: + - gzip response: status: code: 200 - message: '' + message: OK headers: Date: - - Sun, 15 Dec 2019 22:41:02 GMT + - Fri, 08 May 2020 13:41:51 GMT Content-Type: - application/vnd.datacite.datacite+json; charset=utf-8 Connection: @@ -30,20 +32,22 @@ http_interactions: - max-age=0, private, must-revalidate Vary: - Accept-Encoding, Origin + Content-Encoding: + - gzip X-Request-Id: - - '08b76ccf-ece5-47b8-98c4-dea168db1477' + - ffa4517a-670d-44ec-9da8-26798e04644b Etag: - - W/"37fcf41a8fbf601eac15785399ed4c78" + - W/"01c200f5341f64b89454bf29d9bd1bd0" X-Runtime: - - '0.013077' + - '0.021267' X-Powered-By: - Phusion Passenger 6.0.4 Server: - - nginx/1.17.3 + Phusion Passenger 6.0.4 + - nginx/1.14.0 + Phusion Passenger 6.0.4 body: encoding: ASCII-8BIT string: !binary |- - ewogICJpZCI6ICJodHRwczovL2RvaS5vcmcvMTAuMTQ0NTQvY25lNy1hcjMxIiwKICAiZG9pIjogIjEwLjE0NDU0L0NORTctQVIzMSIsCiAgInVybCI6ICJodHRwczovL2Jsb2cuZGF0YWNpdGUub3JnL2Fubm91bmNpbmctc2NoZW1hLTQtMi8iLAogICJ0eXBlcyI6IHsKICAgICJyaXMiOiAiR0VOIiwKICAgICJiaWJ0ZXgiOiAiYXJ0aWNsZSIsCiAgICAiY2l0ZXByb2MiOiAicG9zdC13ZWJsb2ciLAogICAgInNjaGVtYU9yZyI6ICJCbG9nUG9zdGluZyIsCiAgICAicmVzb3VyY2VUeXBlR2VuZXJhbCI6ICJUZXh0IgogIH0sCiAgImNyZWF0b3JzIjogWwogICAgewogICAgICAibmFtZSI6ICJEYXNsZXIsIFJvYmluIiwKICAgICAgIm5hbWVUeXBlIjogIlBlcnNvbmFsIiwKICAgICAgImdpdmVuTmFtZSI6ICJSb2JpbiIsCiAgICAgICJmYW1pbHlOYW1lIjogIkRhc2xlciIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEYXRhQ2l0ZSIsCiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vcm9yLm9yZyIsCiAgICAgICAgICAiYWZmaWxpYXRpb25JZGVudGlmaWVyIjogImh0dHBzOi8vcm9yLm9yZy8wNHd4bnNqODEiLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllclNjaGVtZSI6ICJST1IiCiAgICAgICAgfQogICAgICBdLAogICAgICAibmFtZUlkZW50aWZpZXJzIjogWwogICAgICAgIHsKICAgICAgICAgICJzY2hlbWVVcmkiOiAiaHR0cHM6Ly9vcmNpZC5vcmciLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyIjogImh0dHBzOi8vb3JjaWQub3JnLzAwMDAtMDAwMi00Njk1LTc4NzQiLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyU2NoZW1lIjogIk9SQ0lEIgogICAgICAgIH0KICAgICAgXQogICAgfSwKICAgIHsKICAgICAgIm5hbWUiOiAiZGUgU21hZWxlLCBNYWRlbGVpbmUiLAogICAgICAibmFtZVR5cGUiOiAiUGVyc29uYWwiLAogICAgICAiZ2l2ZW5OYW1lIjogIk1hZGVsZWluZSIsCiAgICAgICJmYW1pbHlOYW1lIjogImRlIFNtYWVsZSIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEZWxmdCBVbml2ZXJzaXR5IG9mIFRlY2hub2xvZ3kiLAogICAgICAgICAgInNjaGVtZVVyaSI6ICJodHRwczovL3Jvci5vcmciLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllciI6ICJodHRwczovL3Jvci5vcmcvMDJlMmM3azA5IiwKICAgICAgICAgICJhZmZpbGlhdGlvbklkZW50aWZpZXJTY2hlbWUiOiAiUk9SIgogICAgICAgIH0KICAgICAgXSwKICAgICAgIm5hbWVJZGVudGlmaWVycyI6IFsKICAgICAgICB7CiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vb3JjaWQub3JnIiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllciI6ICJodHRwczovL29yY2lkLm9yZy8wMDAwLTAwMDItODk2My0zNDE1IiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllclNjaGVtZSI6ICJPUkNJRCIKICAgICAgICB9CiAgICAgIF0KICAgIH0KICBdLAogICJ0aXRsZXMiOiBbCiAgICB7CiAgICAgICJsYW5nIjogbnVsbCwKICAgICAgInRpdGxlIjogIkFubm91bmNpbmcgc2NoZW1hIDQuMiIsCiAgICAgICJ0aXRsZVR5cGUiOiBudWxsCiAgICB9CiAgXSwKICAicHVibGlzaGVyIjogIkRhdGFDaXRlIiwKICAiY29udGFpbmVyIjoge30sCiAgInN1YmplY3RzIjogWwogICAgewogICAgICAic3ViamVjdCI6ICJmZWF0dXJlZCIKICAgIH0KICBdLAogICJjb250cmlidXRvcnMiOiBbXSwKICAiZGF0ZXMiOiBbCiAgICB7CiAgICAgICJkYXRlIjogIjIwMTktMDMtM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CNIvgsY77vGnUpGyfJInGQRdXqdERHIXcFangZlNW3Ok9AVPSUpSmMz2XrdUU6VdgtifFyuJYcmy/hYYsOArl+DRPi7o3l7N46fSV7KYd2TgezcN4Eo7jVTw7G83OpuNoNh//eSjQIevTtjCmaAIP3oPxwl0m70t5t8talN2dYP5M/AHULbqjHZQ3f0fsJd4faN8CglEUl1um+XpjzWdubPt2dnMd+VRz5cGoRFFucAaGab5zSfygDlse/ireAKllRL6Ape5RQW5LYXJDLNpTavBfrrQfbWvQXhUEZbTllljVkERkgWMQwniA86APlAuaCiC4JCIzhMqMGKsL5nTniRGqD8wamNKZGXggt9/++deQxw215BHIAxXc7QehaxS78bG39B4wFeQCXOW93bjDhSlTg97EbFQhMpJiaqtW/lEUBX2rUm/7eYopUmaP912DcHLoa2jNwntMi2thrvFhtcwPAV+xVI+/aTI5rfuWMW382y+pt0nr+JfLxXEZZe/5/SBK1z7dO7X9qCxBw3vQEkRY3tABvgcfUOF64d+3Nb7qQYJj7K4l6kLoGiTbv25fxlanM+cyc2oJTl6+AwAA//8DAE8N/mVICwAA http_version: - recorded_at: Sun, 15 Dec 2019 22:41:02 GMT + recorded_at: Fri, 08 May 2020 13:41:51 GMT recorded_with: VCR 3.0.3 diff --git a/spec/fixtures/vcr_cassettes/content_negotiation/text/x-bibliography/link_with_style.yml b/spec/fixtures/vcr_cassettes/content_negotiation/text/x-bibliography/link_with_style.yml index 5658e60..90ed88f 100644 --- a/spec/fixtures/vcr_cassettes/content_negotiation/text/x-bibliography/link_with_style.yml +++ b/spec/fixtures/vcr_cassettes/content_negotiation/text/x-bibliography/link_with_style.yml @@ -8,16 +8,18 @@ http_interactions: string: '' headers: User-Agent: - - Mozilla/5.0 (compatible; Maremma/4.4; mailto:info@datacite.org) + - Mozilla/5.0 (compatible; Maremma/4.6.1; mailto:info@datacite.org) Accept: - application/vnd.datacite.datacite+json + Accept-Encoding: + - gzip response: status: code: 200 - message: '' + message: OK headers: Date: - - Sun, 15 Dec 2019 22:41:03 GMT + - Fri, 08 May 2020 13:41:52 GMT Content-Type: - application/vnd.datacite.datacite+json; charset=utf-8 Connection: @@ -30,20 +32,22 @@ http_interactions: - max-age=0, private, must-revalidate Vary: - Accept-Encoding, Origin + Content-Encoding: + - gzip X-Request-Id: - - ad79eb69-bbb8-4a5c-a856-70ea909b8c4a + - 778cb8fc-f080-45d5-926e-0ff35380735b Etag: - - W/"37fcf41a8fbf601eac15785399ed4c78" + - W/"0e18b6ddad9ea96f39f80e269c0d6f9a" X-Runtime: - - '0.012878' + - '0.021671' X-Powered-By: - Phusion Passenger 6.0.4 Server: - - nginx/1.17.3 + Phusion Passenger 6.0.4 + - nginx/1.14.0 + Phusion Passenger 6.0.4 body: encoding: ASCII-8BIT string: !binary |- - ewogICJpZCI6ICJodHRwczovL2RvaS5vcmcvMTAuMTQ0NTQvY25lNy1hcjMxIiwKICAiZG9pIjogIjEwLjE0NDU0L0NORTctQVIzMSIsCiAgInVybCI6ICJodHRwczovL2Jsb2cuZGF0YWNpdGUub3JnL2Fubm91bmNpbmctc2NoZW1hLTQtMi8iLAogICJ0eXBlcyI6IHsKICAgICJyaXMiOiAiR0VOIiwKICAgICJiaWJ0ZXgiOiAiYXJ0aWNsZSIsCiAgICAiY2l0ZXByb2MiOiAicG9zdC13ZWJsb2ciLAogICAgInNjaGVtYU9yZyI6ICJCbG9nUG9zdGluZyIsCiAgICAicmVzb3VyY2VUeXBlR2VuZXJhbCI6ICJUZXh0IgogIH0sCiAgImNyZWF0b3JzIjogWwogICAgewogICAgICAibmFtZSI6ICJEYXNsZXIsIFJvYmluIiwKICAgICAgIm5hbWVUeXBlIjogIlBlcnNvbmFsIiwKICAgICAgImdpdmVuTmFtZSI6ICJSb2JpbiIsCiAgICAgICJmYW1pbHlOYW1lIjogIkRhc2xlciIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEYXRhQ2l0ZSIsCiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vcm9yLm9yZyIsCiAgICAgICAgICAiYWZmaWxpYXRpb25JZGVudGlmaWVyIjogImh0dHBzOi8vcm9yLm9yZy8wNHd4bnNqODEiLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllclNjaGVtZSI6ICJST1IiCiAgICAgICAgfQogICAgICBdLAogICAgICAibmFtZUlkZW50aWZpZXJzIjogWwogICAgICAgIHsKICAgICAgICAgICJzY2hlbWVVcmkiOiAiaHR0cHM6Ly9vcmNpZC5vcmciLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyIjogImh0dHBzOi8vb3JjaWQub3JnLzAwMDAtMDAwMi00Njk1LTc4NzQiLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyU2NoZW1lIjogIk9SQ0lEIgogICAgICAgIH0KICAgICAgXQogICAgfSwKICAgIHsKICAgICAgIm5hbWUiOiAiZGUgU21hZWxlLCBNYWRlbGVpbmUiLAogICAgICAibmFtZVR5cGUiOiAiUGVyc29uYWwiLAogICAgICAiZ2l2ZW5OYW1lIjogIk1hZGVsZWluZSIsCiAgICAgICJmYW1pbHlOYW1lIjogImRlIFNtYWVsZSIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEZWxmdCBVbml2ZXJzaXR5IG9mIFRlY2hub2xvZ3kiLAogICAgICAgICAgInNjaGVtZVVyaSI6ICJodHRwczovL3Jvci5vcmciLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllciI6ICJodHRwczovL3Jvci5vcmcvMDJlMmM3azA5IiwKICAgICAgICAgICJhZmZpbGlhdGlvbklkZW50aWZpZXJTY2hlbWUiOiAiUk9SIgogICAgICAgIH0KICAgICAgXSwKICAgICAgIm5hbWVJZGVudGlmaWVycyI6IFsKICAgICAgICB7CiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vb3JjaWQub3JnIiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllciI6ICJodHRwczovL29yY2lkLm9yZy8wMDAwLTAwMDItODk2My0zNDE1IiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllclNjaGVtZSI6ICJPUkNJRCIKICAgICAgICB9CiAgICAgIF0KICAgIH0KICBdLAogICJ0aXRsZXMiOiBbCiAgICB7CiAgICAgICJsYW5nIjogbnVsbCwKICAgICAgInRpdGxlIjogIkFubm91bmNpbmcgc2NoZW1hIDQuMiIsCiAgICAgICJ0aXRsZVR5cGUiOiBudWxsCiAgICB9CiAgXSwKICAicHVibGlzaGVyIjogIkRhdGFDaXRlIiwKICAiY29udGFpbmVyIjoge30sCiAgInN1YmplY3RzIjogWwogICAgewogICAgICAic3ViamVjdCI6ICJmZWF0dXJlZCIKICAgIH0KICBdLAogICJjb250cmlidXRvcnMiOiBbXSwKICAiZGF0ZXMiOiBbCiAgICB7CiAgICAgICJkYXRlIjogIjIwMTktMDMtMjBUMDc6MTc6NTIuNzkyWiIsCiAgICAgICJkYXRlVHlwZSI6ICJJc3N1ZWQiCiAgICB9LAogICAgewogICAgICAiZGF0ZSI6ICIyMDE5LTAzLTIwVDA3OjE3OjUyLjc5MloiLAogICAgICAiZGF0ZVR5cGUiOiAiQ3JlYXRlZCIKICAgIH0sCiAgICB7CiAgICAgICJkYXRlIjogIjIwMTktMDMtMjBUMDc6MTc6NTIuNzkyWiIsCiAgICAgICJkYXRlVHlwZSI6ICJVcGRhdGVkIgogICAgfQogIF0sCiAgInB1YmxpY2F0aW9uWWVhciI6IDIwMTksCiAgImlkZW50aWZpZXJzIjogWwogICAgewogICAgICAiaWRlbnRpZmllciI6ICJodHRwczovL2RvaS5vcmcvMTAuMTQ0NTQvY25lNy1hcjMxIiwKICAgICAgImlkZW50aWZpZXJUeXBlIjogIkRPSSIKICAgIH0KICBdLAogICJ2ZXJzaW9uIjogIjEuMCIsCiAgInJpZ2h0c0xpc3QiOiB7CiAgICAicmlnaHRzIjogbnVsbCwKICAgICJyaWdodHNVcmki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A//8DAE8N/mVICwAA http_version: - recorded_at: Sun, 15 Dec 2019 22:41:03 GMT + recorded_at: Fri, 08 May 2020 13:41:52 GMT recorded_with: VCR 3.0.3 diff --git a/spec/fixtures/vcr_cassettes/content_negotiation/text/x-bibliography/link_with_style_and_locale.yml b/spec/fixtures/vcr_cassettes/content_negotiation/text/x-bibliography/link_with_style_and_locale.yml index 87b21d6..baec3ab 100644 --- a/spec/fixtures/vcr_cassettes/content_negotiation/text/x-bibliography/link_with_style_and_locale.yml +++ b/spec/fixtures/vcr_cassettes/content_negotiation/text/x-bibliography/link_with_style_and_locale.yml @@ -8,16 +8,18 @@ http_interactions: string: '' headers: User-Agent: - - Mozilla/5.0 (compatible; Maremma/4.4; mailto:info@datacite.org) + - Mozilla/5.0 (compatible; Maremma/4.6.1; mailto:info@datacite.org) Accept: - application/vnd.datacite.datacite+json + Accept-Encoding: + - gzip response: status: code: 200 - message: '' + message: OK headers: Date: - - Sun, 15 Dec 2019 22:41:03 GMT + - Fri, 08 May 2020 13:41:52 GMT Content-Type: - application/vnd.datacite.datacite+json; charset=utf-8 Connection: @@ -30,20 +32,22 @@ http_interactions: - max-age=0, private, must-revalidate Vary: - Accept-Encoding, Origin + Content-Encoding: + - gzip X-Request-Id: - - a352114c-3a4f-4f96-947a-83d72646c7e2 + - d8c5155e-4a8e-4f7f-a606-7409cbd6712f Etag: - - W/"37fcf41a8fbf601eac15785399ed4c78" + - W/"0e18b6ddad9ea96f39f80e269c0d6f9a" X-Runtime: - - '0.012696' + - '0.039329' X-Powered-By: - Phusion Passenger 6.0.4 Server: - - nginx/1.17.3 + Phusion Passenger 6.0.4 + - nginx/1.14.0 + Phusion Passenger 6.0.4 body: encoding: ASCII-8BIT string: !binary |- - ewogICJpZCI6ICJodHRwczovL2RvaS5vcmcvMTAuMTQ0NTQvY25lNy1hcjMxIiwKICAiZG9pIjogIjEwLjE0NDU0L0NORTctQVIzMSIsCiAgInVybCI6ICJodHRwczovL2Jsb2cuZGF0YWNpdGUub3JnL2Fubm91bmNpbmctc2NoZW1hLTQtMi8iLAogICJ0eXBlcyI6IHsKICAgICJyaXMiOiAiR0VOIiwKICAgICJiaWJ0ZXgiOiAiYXJ0aWNsZSIsCiAgICAiY2l0ZXByb2MiOiAicG9zdC13ZWJsb2ciLAogICAgInNjaGVtYU9yZyI6ICJCbG9nUG9zdGluZyIsCiAgICAicmVzb3VyY2VUeXBlR2VuZXJhbCI6ICJUZXh0IgogIH0sCiAgImNyZWF0b3JzIjogWwogICAgewogICAgICAibmFtZSI6ICJEYXNsZXIsIFJvYmluIiwKICAgICAgIm5hbWVUeXBlIjogIlBlcnNvbmFsIiwKICAgICAgImdpdmVuTmFtZSI6ICJSb2JpbiIsCiAgICAgICJmYW1pbHlOYW1lIjogIkRhc2xlciIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEYXRhQ2l0ZSIsCiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vcm9yLm9yZyIsCiAgICAgICAgICAiYWZmaWxpYXRpb25JZGVudGlmaWVyIjogImh0dHBzOi8vcm9yLm9yZy8wNHd4bnNqODEiLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllclNjaGVtZSI6ICJST1IiCiAgICAgICAgfQogICAgICBdLAogICAgICAibmFtZUlkZW50aWZpZXJzIjogWwogICAgICAgIHsKICAgICAgICAgICJzY2hlbWVVcmkiOiAiaHR0cHM6Ly9vcmNpZC5vcmciLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyIjogImh0dHBzOi8vb3JjaWQub3JnLzAwMDAtMDAwMi00Njk1LTc4NzQiLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyU2NoZW1lIjogIk9SQ0lEIgogICAgICAgIH0KICAgICAgXQogICAgfSwKICAgIHsKICAgICAgIm5hbWUiOiAiZGUgU21hZWxlLCBNYWRlbGVpbmUiLAogICAgICAibmFtZVR5cGUiOiAiUGVyc29uYWwiLAogICAgICAiZ2l2ZW5OYW1lIjogIk1hZGVsZWluZSIsCiAgICAgICJmYW1pbHlOYW1lIjogImRlIFNtYWVsZSIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEZWxmdCBVbml2ZXJzaXR5IG9mIFRlY2hub2xvZ3kiLAogICAgICAgICAgInNjaGVtZVVyaSI6ICJodHRwczovL3Jvci5vcmciLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllciI6ICJodHRwczovL3Jvci5vcmcvMDJlMmM3azA5IiwKICAgICAgICAgICJhZmZpbGlhdGlvbklkZW50aWZpZXJTY2hlbWUiOiAiUk9SIgogICAgICAgIH0KICAgICAgXSwKICAgICAgIm5hbWVJZGVudGlmaWVycyI6IFsKICAgICAgICB7CiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vb3JjaWQub3JnIiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllciI6ICJodHRwczovL29yY2lkLm9yZy8wMDAwLTAwMDItODk2My0zNDE1IiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllclNjaGVtZSI6ICJPUkNJRCIKICAgICAgICB9CiAgICAgIF0KICAgIH0KICBdLAogICJ0aXRsZXMiOiBbCiAgICB7CiAgICAgICJsYW5nIjogbnVsbCwKICAgICAgInRpdGxlIjogIkFubm91bmNpbmcgc2NoZW1hIDQuMiIsCiAgICAgICJ0aXRsZVR5cGUiOiBudWxsCiAgICB9CiAgXSwKICAicHVibGlzaGVyIjogIkRhdGFDaXRlIiwKICAiY29udGFpbmVyIjoge30sCiAgInN1YmplY3RzIjogWwogICAgewogICAgICAic3ViamVjdCI6ICJmZWF0dXJlZCIKICAgIH0KICBdLAogICJjb250cmlidXRvcnMiOiBbXSwKICAiZGF0ZXMiOiBbCiAgICB7CiAgICAgICJkYXRlIjogIjIwMTktMDMtMjBUMDc6MTc6NTIuNzkyWiIsCiAgICAgICJkYXRlVHlwZS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PSUpSmMz2XrdUU6VdgtifFyuJYcmy/hYYsOArl+DRPi7o3l7N46fSV7KYd2TgezcN4Eo7jVTw7G83OpuNoNh//eSjQIevTtjCmaAIP3oPxwl0m70t5t8talN2dYP5M/AHULbqjHZQ3f0fsJd4faN8CglEUl1um+XpjzWdubPt2dnMd+VRz5cGoRFFucAaGab5zSfygDlse/ireAKllRL6Ape5RQW5LYXJDLNpTavBfrrQfbWvQXhUEZbTllljVkERkgWMQwniA86APlAuaCiC4JCIzhMqMGKsL5nTniRGqD8wamNKZGXggt9/++deQxw215BHIAxXc7QehaxS78bG39B4wFeQCXOW93bjDhSlTg97EbFQhMpJiaqtW/lEUBX2rUm/7eYopUmaP912DcHLoa2jNwntMi2thrvFhtcwPAV+xVI+/aTI5rfuWMW382y+pt0nr+JfLxXEZZe/5/SBK1z7dO7X9qCxBw3vQEkRY3tABvgcfUOF64d+3Nb7qQYJj7K4l6kLoGiTbv25fxlanM+cyc2oJTl6+AwAA//8DAE8N/mVICwAA http_version: - recorded_at: Sun, 15 Dec 2019 22:41:03 GMT + recorded_at: Fri, 08 May 2020 13:41:52 GMT recorded_with: VCR 3.0.3 diff --git a/spec/fixtures/vcr_cassettes/content_negotiation/text/x-bibliography/link_with_style_not_found.yml b/spec/fixtures/vcr_cassettes/content_negotiation/text/x-bibliography/link_with_style_not_found.yml index 42db5f9..2bc30d4 100644 --- a/spec/fixtures/vcr_cassettes/content_negotiation/text/x-bibliography/link_with_style_not_found.yml +++ b/spec/fixtures/vcr_cassettes/content_negotiation/text/x-bibliography/link_with_style_not_found.yml @@ -8,16 +8,18 @@ http_interactions: string: '' headers: User-Agent: - - Mozilla/5.0 (compatible; Maremma/4.4; mailto:info@datacite.org) + - Mozilla/5.0 (compatible; Maremma/4.6.1; mailto:info@datacite.org) Accept: - application/vnd.datacite.datacite+json + Accept-Encoding: + - gzip response: status: code: 200 - message: '' + message: OK headers: Date: - - Sun, 15 Dec 2019 22:41:03 GMT + - Fri, 08 May 2020 13:41:52 GMT Content-Type: - application/vnd.datacite.datacite+json; charset=utf-8 Connection: @@ -30,20 +32,22 @@ http_interactions: - max-age=0, private, must-revalidate Vary: - Accept-Encoding, Origin + Content-Encoding: + - gzip X-Request-Id: - - ddb378f4-514e-4c01-a45e-7b2ce0e64de8 + - 51363af4-a118-4b12-a581-eeb9504c0a18 Etag: - - W/"37fcf41a8fbf601eac15785399ed4c78" + - W/"0e18b6ddad9ea96f39f80e269c0d6f9a" X-Runtime: - - '0.012748' + - '0.022628' X-Powered-By: - Phusion Passenger 6.0.4 Server: - - nginx/1.17.3 + Phusion Passenger 6.0.4 + - nginx/1.14.0 + Phusion Passenger 6.0.4 body: encoding: ASCII-8BIT string: !binary |- - ewogICJpZCI6ICJodHRwczovL2RvaS5vcmcvMTAuMTQ0NTQvY25lNy1hcjMxIiwKICAiZG9pIjogIjEwLjE0NDU0L0NORTctQVIzMSIsCiAgInVybCI6ICJodHRwczovL2Jsb2cuZGF0YWNpdGUub3JnL2Fubm91bmNpbmctc2NoZW1hLTQtMi8iLAogICJ0eXBlcyI6IHsKICAgICJyaXMiOiAiR0VOIiwKICAgICJiaWJ0ZXgiOiAiYXJ0aWNsZSIsCiAgICAiY2l0ZXByb2MiOiAicG9zdC13ZWJsb2ciLAogICAgInNjaGVtYU9yZyI6ICJCbG9nUG9zdGluZyIsCiAgICAicmVzb3VyY2VUeXBlR2VuZXJhbCI6ICJUZXh0IgogIH0sCiAgImNyZWF0b3JzIjogWwogICAgewogICAgICAibmFtZSI6ICJEYXNsZXIsIFJvYmluIiwKICAgICAgIm5hbWVUeXBlIjogIlBlcnNvbmFsIiwKICAgICAgImdpdmVuTmFtZSI6ICJSb2JpbiIsCiAgICAgICJmYW1pbHlOYW1lIjogIkRhc2xlciIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEYXRhQ2l0ZSIsCiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vcm9yLm9yZyIsCiAgICAgICAgICAiYWZmaWxpYXRpb25JZGVudGlmaWVyIjogImh0dHBzOi8vcm9yLm9yZy8wNHd4bnNqODEiLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllclNjaGVtZSI6ICJST1IiCiAgICAgICAgfQogICAgICBdLAogICAgICAibmFtZUlkZW50aWZpZXJzIjogWwogICAgICAgIHsKICAgICAgICAgICJzY2hlbWVVcmkiOiAiaHR0cHM6Ly9vcmNpZC5vcmciLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyIjogImh0dHBzOi8vb3JjaWQub3JnLzAwMDAtMDAwMi00Njk1LTc4NzQiLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyU2NoZW1lIjogIk9SQ0lEIgogICAgICAgIH0KICAgICAgXQogICAgfSwKICAgIHsKICAgICAgIm5hbWUiOiAiZGUgU21hZWxlLCBNYWRlbGVpbmUiLAogICAgICAibmFtZVR5cGUiOiAiUGVyc29uYWwiLAogICAgICAiZ2l2ZW5OYW1lIjogIk1hZGVsZWluZSIsCiAgICAgICJmYW1pbHlOYW1lIjogImRlIFNtYWVsZSIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEZWxmdCBVbml2ZXJzaXR5IG9mIFRlY2hub2xvZ3kiLAogICAgICAgICAgInNjaGVtZVVyaSI6ICJodHRwczovL3Jvci5vcmciLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllciI6ICJodHRwczovL3Jvci5vcmcvMDJlMmM3azA5IiwKICAgICAgICAgICJhZmZpbGlhdGlvbklkZW50aWZpZXJTY2hlbWUiOiAiUk9SIgogICAgICAgIH0KICAgICAgXSwKICAgICAgIm5hbWVJZGVudGlmaWVycyI6IFsKICAgICAgICB7CiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vb3JjaWQub3JnIiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllciI6ICJodHRwczovL29yY2lkLm9yZy8wMDAwLTAwMDItODk2My0zNDE1IiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllclNjaGVtZSI6ICJPUkNJRCIKICAgICAgICB9CiAgICAgIF0KICAgIH0KICBdLAogICJ0aXRsZXMiOiBbCiAgICB7CiAgICAgICJsYW5nIjogbnVsbCwKICAgICAgInRpdGxlIjogIkFubm91bmNpbmcgc2NoZW1hIDQuMiIsCiAgICAgICJ0aXRsZVR5cGUiOiBudWxsCiAgICB9CiAgXSwKICAicHVibGlzaGVyIjogIkRhdGFDaXRlIiwKICAiY29udGFpbmVyIjoge30sCiAgInN1YmplY3RzIjogWwogICAgewogICAgICAic3ViamVjdCI6ICJmZWF0dXJlZCIKICAgIH0KICBdLAogICJjb250cmlidXRvcnMiOiBbXSwKICAiZGF0ZXMiOiBbCiAgICB7CiAgICAgICJkYXRlIjogIjIwMTktMDMtMjBUMDc6MTc6NTIuNzkyWiIsCiAgICAgICJkYXRlVHlwZSI6ICJJc3N1ZWQiCiAgICB9LAogICAgewogICAgICAiZGF0ZSI6ICIyMDE5LTAzLTIwVDA3OjE3OjUyLjc5MloiLAogICAgICAiZGF0ZVR5cGUiOiAiQ3JlYXRlZCIKICAgIH0sCiAgICB7CiAgICAgICJkYXRlIjogIjIwMTktMDMtMjBUMDc6MTc6NTIuNzkyWiIsCiAgICAgICJkYXRlVHlwZSI6ICJVcGRhdGVkIgogICAgfQogIF0sCiAgInB1YmxpY2F0aW9uWWVhciI6IDIwMTksCiAgImlkZW50aWZpZXJzIjogWwogICAgewogICAgICAiaWRlbnRpZmllciI6ICJodHRwczovL2RvaS5vcmcvMTAuMTQ0NTQvY25lNy1hcjMxIiwKICAgICAgImlkZW50aWZpZXJUeXBlIjogIkRPSSIKICAgIH0KICBdLAogICJ2ZXJzaW9uIjogIjEuMCIsCiAgInJpZ2h0c0xpc3QiOiB7CiAgICAicmlnaHRzIjogbnVsbCwKICAgICJyaWdodHNVcmkiOiBudWxsCiAgfSwKICAiZGVzY3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at: Sun, 15 Dec 2019 22:41:03 GMT + recorded_at: Fri, 08 May 2020 13:41:52 GMT recorded_with: VCR 3.0.3 diff --git a/spec/fixtures/vcr_cassettes/content_negotiation/unknown_accept_header/header.yml b/spec/fixtures/vcr_cassettes/content_negotiation/unknown_accept_header/header.yml index 19ffee3..e7ebd2c 100644 --- a/spec/fixtures/vcr_cassettes/content_negotiation/unknown_accept_header/header.yml +++ b/spec/fixtures/vcr_cassettes/content_negotiation/unknown_accept_header/header.yml @@ -8,16 +8,18 @@ http_interactions: string: '' headers: User-Agent: - - Mozilla/5.0 (compatible; Maremma/4.4; mailto:info@datacite.org) + - Mozilla/5.0 (compatible; Maremma/4.6.1; mailto:info@datacite.org) Accept: - application/vnd.datacite.datacite+json + Accept-Encoding: + - gzip response: status: code: 200 - message: '' + message: OK headers: Date: - - Sun, 15 Dec 2019 22:41:03 GMT + - Fri, 08 May 2020 13:41:53 GMT Content-Type: - application/vnd.datacite.datacite+json; charset=utf-8 Connection: @@ -30,20 +32,22 @@ http_interactions: - max-age=0, private, must-revalidate Vary: - Accept-Encoding, Origin + Content-Encoding: + - gzip X-Request-Id: - - 28eee39a-2ce4-4acd-887a-7fd706abcd61 + - c297ac71-edb4-46e5-823b-e46f2d1abbfe Etag: - - W/"37fcf41a8fbf601eac15785399ed4c78" + - W/"d71ad7e2803b5a63efa45884e069d2b7" X-Runtime: - - '0.012888' + - '0.021996' X-Powered-By: - Phusion Passenger 6.0.4 Server: - - nginx/1.17.3 + Phusion Passenger 6.0.4 + - nginx/1.14.0 + Phusion Passenger 6.0.4 body: encoding: ASCII-8BIT string: !binary |- - ewogICJpZCI6ICJodHRwczovL2RvaS5vcmcvMTAuMTQ0NTQvY25lNy1hcjMxIiwKICAiZG9pIjogIjEwLjE0NDU0L0NORTctQVIzMSIsCiAgInVybCI6ICJodHRwczovL2Jsb2cuZGF0YWNpdGUub3JnL2Fubm91bmNpbmctc2NoZW1hLTQtMi8iLAogICJ0eXBlcyI6IHsKICAgICJyaXMiOiAiR0VOIiwKICAgICJiaWJ0ZXgiOiAiYXJ0aWNsZSIsCiAgICAiY2l0ZXByb2MiOiAicG9zdC13ZWJsb2ciLAogICAgInNjaGVtYU9yZyI6ICJCbG9nUG9zdGluZyIsCiAgICAicmVzb3VyY2VUeXBlR2VuZXJhbCI6ICJUZXh0IgogIH0sCiAgImNyZWF0b3JzIjogWwogICAgewogICAgICAibmFtZSI6ICJEYXNsZXIsIFJvYmluIiwKICAgICAgIm5hbWVUeXBlIjogIlBlcnNvbmFsIiwKICAgICAgImdpdmVuTmFtZSI6ICJSb2JpbiIsCiAgICAgICJmYW1pbHlOYW1lIjogIkRhc2xlciIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEYXRhQ2l0ZSIsCiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vcm9yLm9yZyIsCiAgICAgICAgICAiYWZmaWxpYXRpb25JZGVudGlmaWVyIjogImh0dHBzOi8vcm9yLm9yZy8wNHd4bnNqODEiLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllclNjaGVtZSI6ICJST1IiCiAgICAgICAgfQogICAgICBdLAogICAgICAibmFtZUlkZW50aWZpZXJzIjogWwogICAgICAgIHsKICAgICAgICAgICJzY2hlbWVVcmkiOiAiaHR0cHM6Ly9vcmNpZC5vcmciLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyIjogImh0dHBzOi8vb3JjaWQub3JnLzAwMDAtMDAwMi00Njk1LTc4NzQiLAogICAgICAgICAgIm5hbWVJZGVudGlmaWVyU2NoZW1lIjogIk9SQ0lEIgogICAgICAgIH0KICAgICAgXQogICAgfSwKICAgIHsKICAgICAgIm5hbWUiOiAiZGUgU21hZWxlLCBNYWRlbGVpbmUiLAogICAgICAibmFtZVR5cGUiOiAiUGVyc29uYWwiLAogICAgICAiZ2l2ZW5OYW1lIjogIk1hZGVsZWluZSIsCiAgICAgICJmYW1pbHlOYW1lIjogImRlIFNtYWVsZSIsCiAgICAgICJhZmZpbGlhdGlvbiI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJEZWxmdCBVbml2ZXJzaXR5IG9mIFRlY2hub2xvZ3kiLAogICAgICAgICAgInNjaGVtZVVyaSI6ICJodHRwczovL3Jvci5vcmciLAogICAgICAgICAgImFmZmlsaWF0aW9uSWRlbnRpZmllciI6ICJodHRwczovL3Jvci5vcmcvMDJlMmM3azA5IiwKICAgICAgICAgICJhZmZpbGlhdGlvbklkZW50aWZpZXJTY2hlbWUiOiAiUk9SIgogICAgICAgIH0KICAgICAgXSwKICAgICAgIm5hbWVJZGVudGlmaWVycyI6IFsKICAgICAgICB7CiAgICAgICAgICAic2NoZW1lVXJpIjogImh0dHBzOi8vb3JjaWQub3JnIiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllciI6ICJodHRwczovL29yY2lkLm9yZy8wMDAwLTAwMDItODk2My0zNDE1IiwKICAgICAgICAgICJuYW1lSWRlbnRpZmllclNjaGVtZSI6ICJPUkNJRCIKICAgICAgICB9CiAgICAgIF0KICAgIH0KICBdLAogICJ0aXRsZXMiOiBbCiAgICB7CiAgICAgICJsYW5nIjogbnVsbCwKICAgICAgInRpdGxlIjogIkFubm91bmNpbmcgc2NoZW1hIDQuMiIsCiAgICAgICJ0aXRsZVR5cGUiOiBudWxsCiAgICB9CiAgXSwKICAicHVibGlzaGVyIjogIkRhdGFDaXRlIiwKICAiY29udGFpbmVyIjoge30sCiAgInN1YmplY3RzIjogWwogICAgewogICAgICAic3ViamVjdCI6ICJmZWF0dXJlZCIKICAgIH0KICBdLAogICJjb250cmlidXRvcnMiOiBbXSwKICAiZGF0ZXMiOiBbCiAgICB7CiAgICAgICJkYXRlIjogIjIwMTktMDMtMjBUMDc6MTc6NTIuNzkyWiIsCiAgICAgICJkYXRlVHlwZSI6ICJJc3N1ZWQiCiAgICB9LAogICAgewogICAgICAiZGF0ZSI6ICIyMDE5LTAzLTI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N4Eo7jVTw7G83OpuNoNh//eSjQIevTtjCmaAIP3oPxwl0m70t5t8talN2dYP5M/AHULbqjHZQ3f0fsJd4faN8CglEUl1um+XpjzWdubPt2dnMd+VRz5cGoRFFucAaGab5zSfygDlse/ireAKllRL6Ape5RQW5LYXJDLNpTavBfrrQfbWvQXhUEZbTllljVkERkgWMQwniA86APlAuaCiC4JCIzhMqMGKsL5nTniRGqD8wamNKZGXggt9/++deQxw215BHIAxXc7QehaxS78bG39B4wFeQCXOW93bjDhSlTg97EbFQhMpJiaqtW/lEUBX2rUm/7eYopUmaP912DcHLoa2jNwntMi2thrvFhtcwPAV+xVI+/aTI5rfuWMW382y+pt0nr+JfLxXEZZe/5/SBK1z7dO7X9qCxBw3vQEkRY3tABvgcfUOF64d+3Nb7qQYJj7K4l6kLoGiTbv25fxlanM+cyc2oJTl6+AwAA//8DAE8N/mVICwAA http_version: - recorded_at: Sun, 15 Dec 2019 22:41:03 GMT + recorded_at: Fri, 08 May 2020 13:41:53 GMT recorded_with: VCR 3.0.3