Skip to content

Request Missing an Accept Header #1383

@callahan22

Description

@callahan22

Hi,

I've run blackbox/prometheus and Grafana for years to keep and eye on my certs and their expiry times. Recently, I switched on the WAF logging on my Azure App Gateway and noticed a load of logs capturing all the requests from blackbox with the warning: "Request Missing an Accept Header". I understand the error (that the request from BB is not stating the type of content that it can accept), and while an optional in a request, it is filling up my logs unnecessarily.

Can anyone tell me how I can configure blackbox to make the requests with a valid Accept header?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions