Menu

Correct way to set up header properties for http request

2016-02-28
2016-02-28
  • Maxim Ryndin

    Maxim Ryndin - 2016-02-28

    Hi!
    Is there any correct way set up header properties for http request like User-Agent, Accept ,etc?

     
  • Tobias Boese

    Tobias Boese - 2016-02-28

    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

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.