net/http: TimeoutHandler with header argument #46721
Labels
FeatureRequest
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Hi,
Is it possible to add
headers
argument tohttp.TimeoutHandler
method as well?For instance currently I am using it like below but the header defaults to
text/html; charset=utf-8
:(If I gave chance to set the message, would have given chance to set the header too.
Thanks
The text was updated successfully, but these errors were encountered: