Sha256: 0967c9e0ad7711384d2e9b808d951e8721a9caa5508161be7517bab4d9f75b1d

Contents?: true

Size: 1.79 KB

Versions: 4

Compression:

Stored size: 1.79 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: http://iss.ndl.go.jp/api/sru?maximumRecords=1&onlyBib=true&operation=searchRetrieve&query=(itemno=)&recordSchema=dcndl
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - Faraday v0.9.0
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Wed, 01 Oct 2014 07:53:12 GMT
      Server:
      - Apache
      Etag:
      - '"79f8f250e63181b33a2145c0edfd1141"'
      X-Ua-Compatible:
      - IE=Edge,chrome=1
      X-Runtime:
      - '0.007443'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Status:
      - '200'
      Content-Type:
      - application/xml; charset=utf-8
      Set-Cookie:
      - _front_session_id=b30e95aaa8c462ef13411ab6f12e7bfe; domain=.iss.ndl.go.jp;
        path=/; expires=Wed, 01-Oct-2014 08:53:12 GMT; HttpOnly
      - serverid=1101; path=/
      Vary:
      - Accept-Encoding,User-Agent
      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: 
  recorded_at: Wed, 01 Oct 2014 07:53:12 GMT
recorded_with: VCR 2.9.3

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
enju_ndl-0.1.0.pre37 spec/cassette_library/NdlBooksController/POST_create/should_not_create_a_bibliographic_record_if_jpno_is_not_set.yml
enju_ndl-0.1.0.pre36 spec/cassette_library/NdlBooksController/POST_create/should_not_create_a_bibliographic_record_if_jpno_is_not_set.yml
enju_ndl-0.1.0.pre35 spec/cassette_library/NdlBooksController/POST_create/should_not_create_a_bibliographic_record_if_jpno_is_not_set.yml
enju_ndl-0.1.0.pre34 spec/cassette_library/NdlBooksController/POST_create/should_not_create_a_bibliographic_record_if_jpno_is_not_set.yml