Fix health endpoint
it appears that order matters; using ctx.JSON overrides c.Type; but instead of shuffling the lines around, the JSON string is generated by *foot*, which allows to keep header setting at the beginning of the function.
Please register or sign in to comment