[
https://issues.apache.org/jira/browse/MRM-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15487413#comment-15487413
]
ASF GitHub Bot commented on MRM-1925:
-------------------------------------
GitHub user effrafax opened a pull request:
https://github.com/apache/archiva/pull/24
Adding default userAgent system property
The default userAgent string used for proxy connections can be configured by
a system property.
See https://issues.apache.org/jira/browse/MRM-1925
Not sure, if a system property is the right thing here, or if the central
configuration service should be used. If the latter, please provide some hints
how to put that into the central configuration.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/effrafax/archiva MRM-1925
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/archiva/pull/24.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #24
----
commit bd10f7b8a2ff638bb4b3796321425cac9db5476a
Author: Martin Stockhammer <[email protected]>
Date: 2016-09-13T14:46:50Z
Adding default userAgent system property
The default userAgent string used for proxy connections can be configured by
a system property.
----
> Make User-Agent header configurable for HTTP requests
> -----------------------------------------------------
>
> Key: MRM-1925
> URL: https://issues.apache.org/jira/browse/MRM-1925
> Project: Archiva
> Issue Type: Improvement
> Components: remote proxy
> Affects Versions: 2.2.1
> Reporter: Martin Stockhammer
> Fix For: 2.2.2
>
>
> We have the requirement to send a customized User-Agent header with the
> HTTP-Requests for remote proxy.
> Business Case: A proxy is configured for internet access from internal
> network. The policy of the web proxy denies requests with certain
> User-Agent-Header.
> Unfortunately the User-Agent string that archiva uses is hard coded and
> cannot be customized.
> Will provide a pull request via github for further discussion.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)