Sends an HTTP reply to the client. @param status The status of the request (e.g. 200 OK or 404 Not Found). @param buf The content of the reply to send.
(final HttpResponseStatus status,
final ChannelBuffer buf)
| 696 | * @param buf The content of the reply to send. |
| 697 | */ |
| 698 | private void sendBuffer(final HttpResponseStatus status, |
| 699 | final ChannelBuffer buf) { |
| 700 | final String contentType = (api_version < 1 ? guessMimeType(buf) : |
| 701 | serializer.responseContentType()); |
| 702 | sendBuffer(status, buf, contentType); |
| 703 | } |
| 704 | |
| 705 | /** |
| 706 | * Returns the result of an attempt to guess the MIME type of the response. |
no test coverage detected