Skip to content

ignore warnings about invalid user-agents #2150

@stephencompall-DA

Description

@stephencompall-DA

We get warnings like this sometimes in scan-app

Illegal header: Illegal 'user-agent' header: Invalid input '/', expected tchar, OWS, comment, product-or-comment or 'EOI' (line 1, column 24):
OpenAPI-Generator/0.0.1/java
                       ^

pekko-http explains that this doesn't impede request processing beyond leaving the invalid value unparsed and you can turn this off at the source for all headers or individually-selected headers of disinterest. Since we're uninterested in user-agent in the backends, we should turn those off.

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions