B4J Question jHttpUtils2 remove header


Active Member
Licensed User
Longtime User

i try to communicate with my TV, I have one Software (Upnp Request Sender) with i can send the command to adjust the TV Volume this is working so far
Now i have convert this to B4J with httputils2 i send The exactly command but this don't work.
The only diverrence is that the Header Information about User-Agent / Connection Keep Alive / Accept encoding will be Send by B4j. With the other software this header is not send.
So my guess is that my TV don't like this Header Information.
Is it Possible to Remove This header Information? with request.RemoveHeaders("User-Agent") it seems not to work :(
I have compared both commands with wireshark and can't find any other issue.