[ 
https://issues.apache.org/jira/browse/FELIX-6819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18055962#comment-18055962
 ] 

Georg Henzler commented on FELIX-6819:
--------------------------------------

Created https://github.com/apache/felix-dev/pull/475/changes

> HttpRequestsCheck: Allow common curl-like options that are applied to all 
> configured requests
> ---------------------------------------------------------------------------------------------
>
>                 Key: FELIX-6819
>                 URL: https://issues.apache.org/jira/browse/FELIX-6819
>             Project: Felix
>          Issue Type: Improvement
>          Components: Health Checks
>            Reporter: Georg Henzler
>            Assignee: Georg Henzler
>            Priority: Major
>             Fix For: healthcheck.generalchecks 3.0.10
>
>
> See 
> https://github.com/apache/felix-dev/blob/2282645785948c7acc5d6a5c1c9359cb8eb3a34c/healthcheck/generalchecks/src/main/java/org/apache/felix/hc/generalchecks/HttpRequestsCheck.java#L316-L323
>  for the code that evaluates the options, that are currently supported 
> (request headers, request  method, etc.).
> In some situations it's useful to use the same options for all configured 
> requests, e.g. use {{-X HEAD}} for configured URLs. This shall be possible by 
> configuring {{defaultRequestOptions}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to