Set request.GetBody to fix redirect issues
Gitlab uses the 307 status code to indicate a redirect. Since Go 1.8 that status code is supported by the HTTP package but it requires an additional field (`GetBody`) to be set to enable resending the body.
Showing
Please
register
or
sign in
to comment