mercredi 18 avril 2018

Mock HTTP server that performs content negotiation

I normally use Python's http.server to mock an HTTP server but this time I need the server to perform content negotiation.

I just need it to return an error if it cannot match the Accept header. Python's server ignores the header.

Aucun commentaire:

Enregistrer un commentaire