solve API header set-cookie