Send headers after processing all request variables