Skip to contents

Adds GitLab auth headers to an httr2 request. A token is optional for public projects (used here only to raise the low unauthenticated rate limit); see gitlab_pat().

Usage

.gitlab_config(req)

Arguments

req

an httr2 request object

Value

the modified request