Deal with header, data and parameters.