example: only write output data on http 200/204