writeRawJSON writes the given bytes as a JSON response with a 200 OK status.
(b []byte)
| 1564 | |
| 1565 | // writeRawJSON writes the given bytes as a JSON response with a 200 OK status. |
| 1566 | func (h *handler) writeRawJSON(b []byte) { |
| 1567 | h.writeRawJSONStatus(http.StatusOK, b) |
| 1568 | } |
| 1569 | |
| 1570 | // writeRawJSONStatus writes the given bytes as a JSON response. |
| 1571 | // If status is nonzero, the header will be written with that status. |
no test coverage detected