Sha256: c732bc6f6eb37e66e54564624509006b18eeb3fd32a4c0f227780b143ef7ff17

Contents?: true

Size: 1.81 KB

Versions: 7

Compression:

Stored size: 1.81 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:
      - Wed, 10 Apr 2013 02:43:42 GMT
      server:
      - Apache
      x-powered-by:
      - Phusion Passenger (mod_rails/mod_rack) 2.2.15
      etag:
      - '"c3ed6df086c85a7100d49e74b0e3650c"'
      x-ua-compatible:
      - IE=Edge,chrome=1
      x-runtime:
      - '0.006426'
      cache-control:
      - max-age=0, private, must-revalidate
      status:
      - '200'
      content-type:
      - application/xml; charset=utf-8
      set-cookie:
      - _front_session_id=4a7583a05ba8e0b7ae1e7aef477d0ad0; domain=.iss.ndl.go.jp;
        path=/; expires=Wed, 10-Apr-2013 03:43:42 GMT; HttpOnly
      - serverid=1105; 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: Wed, 10 Apr 2013 02:43:42 GMT
recorded_with: VCR 2.4.0

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
enju_ndl-0.1.0.pre18 spec/cassette_library/NdlBooksController/POST_create/should_not_create_a_bibliographic_record_if_nbn_is_not_set.yml
enju_ndl-0.1.0.pre17 spec/cassette_library/NdlBooksController/POST_create/should_not_create_a_bibliographic_record_if_nbn_is_not_set.yml
enju_ndl-0.1.0.pre16 spec/cassette_library/NdlBooksController/POST_create/should_not_create_a_bibliographic_record_if_nbn_is_not_set.yml
enju_ndl-0.1.0.pre15 spec/cassette_library/NdlBooksController/POST_create/should_not_create_a_bibliographic_record_if_nbn_is_not_set.yml
enju_ndl-0.1.0.pre14 spec/cassette_library/NdlBooksController/POST_create/should_not_create_a_bibliographic_record_if_nbn_is_not_set.yml
enju_ndl-0.1.0.pre13 spec/cassette_library/NdlBooksController/POST_create/should_not_create_a_bibliographic_record_if_nbn_is_not_set.yml
enju_ndl-0.1.0.pre12 spec/cassette_library/NdlBooksController/POST_create/should_not_create_a_bibliographic_record_if_nbn_is_not_set.yml