Skip to content

v1.0.6

Compare
Choose a tag to compare
@JosephSilber JosephSilber released this 20 Jul 02:43
· 30 commits to master since this release

New: returns JSON with proper headers

Previously

JSON responses were cached to disk as HTML files, which caused the web server to return them with a Content-Type of text/html.

Now

Thanks to @andypa (#53), if your response is actually a JSON response, it'll be cached to disk with a json extension. The web server will then return it with the correct Content-Type of application/json.