Sha256: 937d4f0c90331b5bea16c09b5eca5e4b4f5ae72640c5f9e68c8515047b1a6e94

Contents?: true

Size: 1.74 KB

Versions: 2

Compression:

Stored size: 1.74 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://validator.nu/?doc=https://w3c-validators.github.io/w3c_validators/valid_html5.html&out=json&parser=html&showsource=yes
    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:
      Server:
      - nginx/1.11.5
      Date:
      - Sun, 18 Dec 2016 11:03:30 GMT
      Content-Type:
      - application/json; charset=utf-8
      Transfer-Encoding:
      - chunked
      Connection:
      - keep-alive
      Accept-Encoding:
      - gzip
      Access-Control-Allow-Origin:
      - "*"
      Access-Control-Allow-Headers:
      - content-type
      Expires:
      - Thu, 01 Jan 1970 00:00:00 GMT
      Cache-Control:
      - no-cache
      Vary:
      - Accept-Encoding, User-Agent
      Strict-Transport-Security:
      - max-age=31536000; includeSubDomains; preload
    body:
      encoding: ASCII-8BIT
      string: |
        {"url":"https://w3c-validators.github.io/w3c_validators/valid_html5.html","messages":[],"source":{"type":"text/html","encoding":"utf-8","code":"<!DOCTYPE html>\n<html lang=\"en-ca\">\n  <head>\n\t<meta http-equiv=\"Content-type\" content=\"text/html; charset=utf-8\">\n    <title>HTML 5 Example</title>\n  </head>\n  <body>\n    <p>This is a sample HTML 5 document.</p>\n    <section>\n\t  <h1>Example of paragraphs</h1>\n\t  This is the <em>first</em> paragraph in this example.\n\t  <p>This is the second.</p>\n\t  <!-- This is not a paragraph. -->\n\t</section>\n  </body>\n</html>"}}
    http_version: 
  recorded_at: Sun, 18 Dec 2016 11:03:30 GMT
recorded_with: VCR 3.0.3

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
w3c_validators-1.3.2 test/http_recording/html5_getting_request_data.yml
w3c_validators-1.3.1 test/http_recording/html5_getting_request_data.yml