diff --git a/request.go b/request.go index 8fdf5daa..8c738fc3 100644 --- a/request.go +++ b/request.go @@ -846,6 +846,9 @@ func (r *Request) Context() context.Context { // to interrupt the request execution if ctx.Done() channel is closed. // See https://blog.golang.org/context article and the "context" package // documentation. +// +// Attention: make sure call SetContext before EnableDumpXXX if you want to +// dump at the request level. func (r *Request) SetContext(ctx context.Context) *Request { if ctx != nil { r.ctx = ctx