I normally use Python's http.server to mock an HTTP server but this time I need the server to perform content negotiation.
http.server
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