Proper handling of 304 and streaming responses