STRBUF_ALLOCA_FIT() macro
strbuf_json_boolean()
All HTTP RESTful responses are JSON, not HTTP

Even error responses (typically code 403)