Sha256: d360fca3adf4bf207926e130d4b07a3602357afe72363faf34c1fcf259643dfd

Contents?: true

Size: 1.74 KB

Versions: 3

Compression:

Stored size: 1.74 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: http://iss.ndl.go.jp/api/sru?operation=searchRetrieve&recordSchema=dcndl&&maximumRecords=1&&query=%28jpno=%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:
      - Mon, 06 May 2013 19:52:48 GMT
      server:
      - Apache
      etag:
      - '"c3ed6df086c85a7100d49e74b0e3650c"'
      x-ua-compatible:
      - IE=Edge,chrome=1
      x-runtime:
      - '0.007138'
      cache-control:
      - max-age=0, private, must-revalidate
      status:
      - '200'
      content-type:
      - application/xml; charset=utf-8
      set-cookie:
      - _front_session_id=93c94b36df634d408e6da58a7de7c277; domain=.iss.ndl.go.jp;
        path=/; expires=Mon, 06-May-2013 20:52:48 GMT; HttpOnly
      - serverid=1102; path=/
      vary:
      - Accept-Encoding,User-Agent
      content-encoding:
      - gzip
      content-length:
      - '231'
      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 'jpno='</message>
            </diagnostic>
          </diagnostics>
        </searchRetrieveResponse>
    http_version: '1.0'
  recorded_at: Mon, 06 May 2013 19:52:48 GMT
recorded_with: VCR 2.4.0

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
enju_ndl-0.1.0.pre21 spec/cassette_library/NdlBooksController/POST_create/should_not_create_a_bibliographic_record_if_nbn_is_not_set.yml
enju_ndl-0.1.0.pre20 spec/cassette_library/NdlBooksController/POST_create/should_not_create_a_bibliographic_record_if_nbn_is_not_set.yml
enju_ndl-0.1.0.pre19 spec/cassette_library/NdlBooksController/POST_create/should_not_create_a_bibliographic_record_if_nbn_is_not_set.yml