Test HTTP Status Codes Locally with a Small Python Server
Run a localhost HTTP fixture for JSON status responses, HTML with status 200, and body-free 204. Check headers and bodies independently of status codes.
http / testing / python↗
Practical notes on Java, Spring, testing, and software engineering, with working examples and source references.
Run a localhost HTTP fixture for JSON status responses, HTML with status 200, and body-free 204. Check headers and bodies independently of status codes.