# DownloadTask.offHeadersReceived(function callback)

Start from base library version 2.1.0. Please remaining backward compatible.

with Promise style call: Not supported

Mini Program plugin: Support

Cancel the wiretap. HTTP Response Header event

# parameter

# function callback

HTTP Response Header Event callback function