pathod pathod is a pathological HTTP/S daemon, useful for testing and torturing HTTP clients. (…) The simplest way to use pathod is to fire up the daemon, and specify the response behaviour you want using this language in the request URL.
Requests: HTTP for Humans — Requests 0.10.2 documentation Requests takes all of the work out of Python HTTP — making your integration with web services seamless. There’s no need to manually add query strings to your URLs, or to form-encode your POST data. Keep-alive and HTTP connection pooling are 100% automatic (…)
httpstat.us This is a super simple service for generating different HTTP codes. It’s useful for testing how your own scripts deal with varying responses.