Sha256: 31963c2cc06eed78532edc304b4d45ff8c47de2c45c32485dee0770d734a96ad

Contents?: true

Size: 1.35 KB

Versions: 7

Compression:

Stored size: 1.35 KB

Contents

---
http_interactions:
- request:
    method: put
    uri: https://mds.test.datacite.org/doi/10.5438/6brg-2m37
    body:
      encoding: UTF-8
      string: |-
        doi=10.5438/6brg-2m37
        url=http://www.datacite.org
    headers:
      User-Agent:
      - Mozilla/5.0 (compatible; Maremma/4.1.1; +https://github.com/datacite/maremma)
      Content-Type:
      - text/plain;charset=UTF-8
      Accept:
      - text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
      Authorization:
      - Basic <MDS_TOKEN>
  response:
    status:
      code: 201
      message: Created
    headers:
      Date:
      - Thu, 30 Aug 2018 23:17:03 GMT
      Content-Type:
      - text/plain; charset=utf-8
      Connection:
      - keep-alive
      Status:
      - 201 Created
      Cache-Control:
      - max-age=0, private, must-revalidate
      Vary:
      - Accept-Encoding, Origin
      Etag:
      - W/"565339bc4d33d72817b583024112eb7f"
      X-Runtime:
      - '0.121076'
      X-Credential-Username:
      - DATACITE.DATACITE
      X-Request-Id:
      - 330478c4-723d-4c95-b077-bfbe9974c192
      X-Powered-By:
      - Phusion Passenger 5.3.4
      Server:
      - nginx/1.14.0 + Phusion Passenger 5.3.4
    body:
      encoding: ASCII-8BIT
      string: OK
    http_version: 
  recorded_at: Thu, 30 Aug 2018 23:17:03 GMT
recorded_with: VCR 3.0.3

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cirneco-0.9.27 spec/fixtures/vcr_cassettes/Cirneco_Work/DOI_API/put/should_put_doi.yml
cirneco-0.9.26 spec/fixtures/vcr_cassettes/Cirneco_Work/DOI_API/put/should_put_doi.yml
cirneco-0.9.25 spec/fixtures/vcr_cassettes/Cirneco_Work/DOI_API/put/should_put_doi.yml
cirneco-0.9.24 spec/fixtures/vcr_cassettes/Cirneco_Work/DOI_API/put/should_put_doi.yml
cirneco-0.9.23 spec/fixtures/vcr_cassettes/Cirneco_Work/DOI_API/put/should_put_doi.yml
cirneco-0.9.22 spec/fixtures/vcr_cassettes/Cirneco_Work/DOI_API/put/should_put_doi.yml
cirneco-0.9.21 spec/fixtures/vcr_cassettes/Cirneco_Work/DOI_API/put/should_put_doi.yml