• 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
Name
Last commit
Last update
examples Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CHANGELOG.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
access_requests.go Loading commit data...
award_emojis.go Loading commit data...
boards.go Loading commit data...
branches.go Loading commit data...
broadcast_messages.go Loading commit data...
broadcast_messages_test.go Loading commit data...
build_variables.go Loading commit data...
build_variables_test.go Loading commit data...
ci_yml_templates.go Loading commit data...
commits.go Loading commit data...
commits_test.go Loading commit data...
custom_attributes.go Loading commit data...
custom_attributes_test.go Loading commit data...
deploy_keys.go Loading commit data...
deployments.go Loading commit data...
discussions.go Loading commit data...
environments.go Loading commit data...
event_parsing.go Loading commit data...
event_parsing_test.go Loading commit data...
event_types.go Loading commit data...
event_types_test.go Loading commit data...
events.go Loading commit data...
feature_flags.go Loading commit data...
feature_flags_test.go Loading commit data...
gitignore_templates.go Loading commit data...
gitlab.go Loading commit data...
gitlab_test.go Loading commit data...
go.mod Loading commit data...
go.sum Loading commit data...
group_boards.go Loading commit data...
group_members.go Loading commit data...
group_milestones.go Loading commit data...
group_variables.go Loading commit data...
groups.go Loading commit data...
groups_test.go Loading commit data...
issue_links.go Loading commit data...
issues.go Loading commit data...
issues_test.go Loading commit data...
jobs.go Loading commit data...
jobs_test.go Loading commit data...
keys.go Loading commit data...
keys_test.go Loading commit data...
labels.go Loading commit data...
labels_test.go Loading commit data...
license.go Loading commit data...
license_templates.go Loading commit data...
merge_request_approvals.go Loading commit data...
merge_requests.go Loading commit data...
milestones.go Loading commit data...
namespaces.go Loading commit data...
notes.go Loading commit data...
notifications.go Loading commit data...
pages_domains.go Loading commit data...
pipeline_schedules.go Loading commit data...
pipeline_triggers.go Loading commit data...
pipeline_triggers_test.go Loading commit data...
pipelines.go Loading commit data...
pipelines_test.go Loading commit data...
project_badges.go Loading commit data...
project_members.go Loading commit data...
project_snippets.go Loading commit data...
project_variables.go Loading commit data...
projects.go Loading commit data...
projects_test.go Loading commit data...
protected_branches.go Loading commit data...
repositories.go Loading commit data...
repository_files.go Loading commit data...
runners.go Loading commit data...
runners_test.go Loading commit data...
search.go Loading commit data...
services.go Loading commit data...
services_test.go Loading commit data...
settings.go Loading commit data...
settings_test.go Loading commit data...
sidekiq_metrics.go Loading commit data...
snippets.go Loading commit data...
strings.go Loading commit data...
system_hooks.go Loading commit data...
tags.go Loading commit data...
tags_test.go Loading commit data...
time_stats.go Loading commit data...
todos.go Loading commit data...
todos_test.go Loading commit data...
users.go Loading commit data...
validate.go Loading commit data...
validate_test.go Loading commit data...
version.go Loading commit data...
version_test.go Loading commit data...
wikis.go Loading commit data...