We need to explicitly set status_code to 304 otherwise we will
run into "Status code was not [200]" if the remote server
responds with a 304 status during deployments.