glesys/glesys-go

Remove unneeded WithContext for http.Request

norrland opened this issue · 0 comments

As of go1.13, Request.NewRequest wraps NewRequestWithContext using
context.Background.

This causes the request = request.WithContext(ctx) to be redundant.
Use NewRequestWithContext instead.