HTTPServerResponse.writeVoidBody

Writes the response with no body.

This method should be used in situations where no body is requested, such as a HEAD request. For an empty body, just use writeBody, as this method causes problems with some keep-alive connections.

class HTTPServerResponse
@safe
void
writeVoidBody
()

Meta