To solve the problem of HTTP response headers callback