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