Sha256: 7d82a45022c7d01b4a24507837971de7203fffbf4eb65bb4eb935ea735fe6e16

Contents?: true

Size: 1.48 KB

Versions: 1

Compression:

Stored size: 1.48 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: http://alweb.org/foo
    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: 404
      message: Not Found
    headers:
      Date:
      - Tue, 28 Mar 2017 02:03:43 GMT
      Server:
      - Apache/2.4.10 (Debian)
      X-Runtime:
      - '0.001316'
      X-Request-Id:
      - e03643d3-ef3a-440e-aed6-e721df0bf2fa
      X-Powered-By:
      - Phusion Passenger 5.1.2
      Content-Length:
      - '495'
      Status:
      - 404 Not Found
      Content-Type:
      - text/html; charset=utf-8
    body:
      encoding: UTF-8
      string: |
        <!DOCTYPE html>

        <html>

        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
            <title>Error! - Not Found</title>
            <link href="/errors/style.css" media="screen" rel="stylesheet" type="text/css" />
        </head>

        <body>

        <div>
            <h1>Error!</h1>

            <h2>Not Found</h2>

            <p class="first">
                The page you were looking for doesn't exist.
            </p>

            <p>
                You may have mistyped the address or the page may have moved.
            </p>
        </div>

        </body>

        </html>
    http_version: 
  recorded_at: Tue, 28 Mar 2017 02:03:44 GMT
recorded_with: VCR 3.0.3

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
notu-1.0.2 spec/cassettes/Notu_HtmlDocument/_get/raise_a_NetworkError_on_404.yml