you should either use HttpClient (which is maybe not 100% working, as there are some remarks from the old project that the development of this tool has been stopped) or the other possible solution could be to redirect all Socket communication through a specific NetLayer (e.g. TorNetLayer) and use the Standard Apache HttpClient for communication.
Hi!
Is there any correct way set up header properties for http request like User-Agent, Accept ,etc?
Hi Maxim,
you should either use HttpClient (which is maybe not 100% working, as there are some remarks from the old project that the development of this tool has been stopped) or the other possible solution could be to redirect all Socket communication through a specific NetLayer (e.g. TorNetLayer) and use the Standard Apache HttpClient for communication.
You can checkout the Wiki for more information.
Or you could download the download-tool there is a sample implementation with Apache HttpClient.
regards Tobi