Skip to content
This repository was archived by the owner on Oct 5, 2023. It is now read-only.

Added User-Agent to HttpClient#613

Merged
jasonjoh merged 2 commits intodevfrom
user-agent
Jan 7, 2022
Merged

Added User-Agent to HttpClient#613
jasonjoh merged 2 commits intodevfrom
user-agent

Conversation

@jasonjoh
Copy link
Member

@jasonjoh jasonjoh commented Jan 6, 2022

Description

Added User-Agent header to default HttpClient supplied by dependency injection. Requests to maven.org were returning 403 due to an empty User-Agent header.

This was causing all test runs to fail

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Copy link
Contributor

@andrueastman andrueastman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏼

@jasonjoh jasonjoh merged commit 08dd457 into dev Jan 7, 2022
@jasonjoh jasonjoh deleted the user-agent branch January 7, 2022 15:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants