Sha256: 2e9ed236a9f936e38ccbe42b5b89c1f19f62ec796e7550b2073dd8e0a4681a3e

Contents?: true

Size: 1.83 KB

Versions: 4

Compression:

Stored size: 1.83 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: http://iss.ndl.go.jp/api/sru?operation=searchRetrieve&recordSchema=dcndl&maximumRecords=1&query=%28itemno=%29&onlyBib=true
    body:
      encoding: US-ASCII
      string: ''
    headers:
      accept-encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      accept:
      - '*/*'
      user-agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      date:
      - Thu, 05 Dec 2013 11:09:02 GMT
      server:
      - Apache
      etag:
      - '"79f8f250e63181b33a2145c0edfd1141"'
      x-ua-compatible:
      - IE=Edge,chrome=1
      x-runtime:
      - '0.014591'
      cache-control:
      - max-age=0, private, must-revalidate
      status:
      - '200'
      content-type:
      - application/xml; charset=utf-8
      set-cookie:
      - _front_session_id=701944994e5eb16b221fba8bed680e44; domain=.iss.ndl.go.jp;
        path=/; expires=Thu, 05-Dec-2013 12:09:10 GMT; HttpOnly
      - serverid=1101; path=/
      vary:
      - Accept-Encoding,User-Agent
      content-encoding:
      - gzip
      x-content-type-options:
      - nosniff
      x-frame-options:
      - SAMEORIGIN
      content-length:
      - '232'
      connection:
      - close
    body:
      encoding: UTF-8
      string: |
        <?xml version="1.0" encoding="UTF-8"?>
        <searchRetrieveResponse xmlns="http://www.loc.gov/zing/srw/">
          <diagnostics>
            <diagnostic xmlns="http://www.loc.gov/zing/srw/diagnostic/">
              <uri>info:srw/diagnostic/1/1</uri>
              <details>An error occurred</details>
              <message>search term(s) is requested in 'itemno='</message>
            </diagnostic>
          </diagnostics>
        </searchRetrieveResponse>
    http_version: '1.0'
  recorded_at: Thu, 05 Dec 2013 11:09:10 GMT
recorded_with: VCR 2.8.0

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
enju_ndl-0.1.0.pre32 spec/cassette_library/NdlBooksController/POST_create/should_not_create_a_bibliographic_record_if_jpno_is_not_set.yml
enju_ndl-0.1.0.pre31 spec/cassette_library/NdlBooksController/POST_create/should_not_create_a_bibliographic_record_if_jpno_is_not_set.yml
enju_ndl-0.1.0.pre30 spec/cassette_library/NdlBooksController/POST_create/should_not_create_a_bibliographic_record_if_jpno_is_not_set.yml
enju_ndl-0.1.0.pre29 spec/cassette_library/NdlBooksController/POST_create/should_not_create_a_bibliographic_record_if_jpno_is_not_set.yml