Sha256: 62b040af256c40e3f1688d3c95daac95079aeca12d27a90c3226766d0e8f0a8f

Contents?: true

Size: 820 Bytes

Versions: 2

Compression:

Stored size: 820 Bytes

Contents

---
http_interactions:
- request:
    method: get
    uri: https://invalid:invalid@mds.datacite.org/doi/10.5072/MY_TEST
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept:
      - "*/*; q=0.5, application/xml"
      Accept-Encoding:
      - gzip, deflate
      User-Agent:
      - Ruby
  response:
    status:
      code: 401
      message: Unauthorized
    headers:
      Date:
      - Tue, 04 Nov 2014 13:41:33 GMT
      Cache-Control:
      - private
      Expires:
      - Thu, 01 Jan 1970 00:00:00 UTC
      Www-Authenticate:
      - Basic realm="mds.datacite.org"
      Content-Length:
      - '15'
      Content-Type:
      - text/plain
    body:
      encoding: UTF-8
      string: Bad credentials
    http_version:
  recorded_at: Tue, 04 Nov 2014 13:41:35 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/resolve_a_DOI/returns_a_401_for_un-authorized_account.yml
datacite_doi_ify-0.0.1 spec/cassettes/resolve_a_DOI/returns_a_401_for_un-authorized_account.yml