sendEmpty method

void sendEmpty()

Sends an empty response (useful for 204 No Content).

Implementation

void sendEmpty() {
  if (_sent) return;

  _closeResponse();
}