Sha256: 2a898ab230cf3a665d44ab9cad1a3b992d6a91f6cb575bf9ffd8f1d1b3f3cf98

Contents?: true

Size: 1.65 KB

Versions: 2

Compression:

Stored size: 1.65 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://www.example.org/
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
      Host:
      - www.example.org
  response:
    status:
      code: 301
      message: Moved Permanently
    headers:
      Date:
      - Thu, 30 Mar 2023 17:29:41 GMT
      Transfer-Encoding:
      - chunked
      Connection:
      - keep-alive
      Cache-Control:
      - max-age=3600
      Expires:
      - Thu, 30 Mar 2023 18:29:41 GMT
      Location:
      - https://www.dblock.org/
      Vary:
      - Accept-Encoding
      Server:
      - Example.org
    body:
      encoding: UTF-8
      string: ''
  recorded_at: Thu, 30 Mar 2023 17:29:41 GMT
- request:
    method: get
    uri: https://www.dblock.org/
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
      Host:
      - www.example.org
  response:
    status:
      code: 403
      message: Forbidden
    headers:
      Server:
      - Example.org
      Date:
      - Thu, 30 Mar 2023 17:29:41 GMT
      Content-Type:
      - text/html
      Content-Length:
      - '151'
      Connection:
      - keep-alive
    body:
      encoding: UTF-8
      string: "<html>\r\n<head><title>403 Forbidden</title></head>\r\n<body>\r\n<center><h1>403
        Forbidden</h1></center>\r\n<hr><center>cloudflare</center>\r\n</body>\r\n</html>\r\n"
  recorded_at: Thu, 30 Mar 2023 17:29:41 GMT
recorded_with: VCR 6.1.0

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby-link-checker-0.2.0 spec/fixtures/301_403.yml
ruby-link-checker-0.1.0 spec/fixtures/301_403.yml