This commit is contained in:
@@ -103,6 +103,10 @@ func (h headerRes) HTML(body []byte) Response {
|
||||
return HTML(body).wrap(h)
|
||||
}
|
||||
|
||||
func (h headerRes) HTMLReader(body io.Reader) Response {
|
||||
return HTMLReader(body).wrap(h)
|
||||
}
|
||||
|
||||
func (h headerRes) JSON(body any) Response {
|
||||
return JSON(body).wrap(h)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user