'User-Agent header cannot be removed in jodd-http

I want to send a request without User-Agent for testing purposes. I tried to use headerRemove but it doesn't work. Is there a way to achieve this?

val request = HttpRequest.get("https://example.com")
                         .header("x-dummy-header", "remove me")

headerRemove("x-dummy-header")
headerRemove("User-Agent")
GET / HTTP/1.1
Connection: Close
Host: example.com
User-Agent: Jodd HTTP


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source