writeRawJSON writes the given bytes as a plaintext response with a 200 OK status.
(value []byte)
| 1581 | |
| 1582 | // writeRawJSON writes the given bytes as a plaintext response with a 200 OK status. |
| 1583 | func (h *handler) writeText(value []byte) { |
| 1584 | h.writeTextStatus(http.StatusOK, value) |
| 1585 | } |
| 1586 | |
| 1587 | // writeTextStatus writes the given bytes as a plaintext response. |
| 1588 | // If status is nonzero, the header will be written with that status. |
no test coverage detected