no_handler_status_code is nice to set a 404 status instead of 500 when no handler has been defined. However it would be nice if the full default response was customizable.
I test an API where all responses must be JSON, 404 or 500 pages included.
Some URLs I check are built dynamically, so it would not be very convenient to prepare pytest-httpserver for all those URLs. A customizable default response here would be a bliss.
What do you think?
no_handler_status_codeis nice to set a 404 status instead of 500 when no handler has been defined. However it would be nice if the full default response was customizable.I test an API where all responses must be JSON, 404 or 500 pages included.
Some URLs I check are built dynamically, so it would not be very convenient to prepare pytest-httpserver for all those URLs. A customizable default response here would be a bliss.
What do you think?