bins.toml 598 B

123456789101112131415
  1. [[cmd]]
  2. name = "Using a DNS-over-HTTPS server that returns status 500"
  3. shell = "dog --https @https://eu.httpbin.org/status/500 lookup.dog"
  4. stdout = { empty = true }
  5. stderr = { string = "Error [http]: Nameserver returned HTTP 500 (INTERNAL SERVER ERROR)" }
  6. status = 1
  7. tags = [ 'live', 'httpbin', 'https' ]
  8. [[cmd]]
  9. name = "Using a DNS-over-HTTPS server that returns no content"
  10. shell = "dog --https @https://eu.httpbin.org/status/200 lookup.dog"
  11. stdout = { empty = true }
  12. stderr = { string = "Error [protocol]: Malformed packet: insufficient data" }
  13. status = 1
  14. tags = [ 'live', 'httpbin', 'https' ]