Sha256: 7f1bbb68144f1df1194f54ed3c8cdeadf2c7327dc44e8241ce321c68a3de4da4

Contents?: true

Size: 984 Bytes

Versions: 2

Compression:

Stored size: 984 Bytes

Contents

---
http_interactions:
- request:
    method: post
    uri: https://test:test@mds.datacite.org/doi
    body:
      encoding: UTF-8
      string: |-
        doi=10.5072/new_doi
        url=https://seek.sysmo-db.org
    headers:
      Accept:
      - "*/*; q=0.5, application/xml"
      Accept-Encoding:
      - gzip, deflate
      Content-Type:
      - text/plain;charset=UTF-8
      Content-Length:
      - '49'
      User-Agent:
      - Ruby
  response:
    status:
      code: 412
      message: Precondition Failed
    headers:
      Date:
      - Tue, 04 Nov 2014 15:21:47 GMT
      Pragma:
      - no-cache
      Expires:
      - Thu, 01 Jan 1970 00:00:00 GMT
      Cache-Control:
      - no-cache
      - no-store
      Content-Type:
      - application/xml;charset=UTF-8
      Content-Length:
      - '36'
    body:
      encoding: UTF-8
      string: You have to register metadata first!
    http_version:
  recorded_at: Tue, 04 Nov 2014 15:21:49 GMT
recorded_with: VCR 2.9.3

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
datacite_doi_ify-1.0.0 spec/cassettes/mint_a_DOI/returns_412_if_metadata_has_not_been_uploaded.yml
datacite_doi_ify-0.0.1 spec/cassettes/mint_a_DOI/returns_412_if_metadata_has_not_been_uploaded.yml