if(entity == null) { response.setContentLength(0); }
	public void sendResponse(Representation entity) throws IOException	{		// Set the response headers		response.clear();		for (Parameter header : getResponseHeaders())		{			response.add(header.getName(), header.getValue());		}		// Set the status		response.setCode(getStatusCode());		response.setText(getReasonPhrase());		// Send the response entity		super.sendResponse(entity);	}