HTTPServerResponseData.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.

  1. void writeVoidBody()
    struct HTTPServerResponseData
    protected @safe @safe
    void
    writeVoidBody
    ()
  2. void writeVoidBody(Stream stream)

Meta