• Sander van Harmelen's avatar
    Set request.GetBody to fix redirect issues · d3aa1530
    Sander van Harmelen authored
    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.
    d3aa1530
gitlab.go 26 KB