httpclient Bug ?



  • @support just found out that httpclient is not sending custom headers in the order they are set.

    Example - Header set in BAS httpclient

    0_1521571246040_bas.png

    After Request sent

    ( image from fiddler )
    0_1521571303898_fiddbas.png

    As you can see above, the headers are misplaced and are not sent as set in httpclient.

    BAS Version - 20.7.6


  • administrators

    Made some changes, additional headers will preserve its order after 20.8.6 version.
    But that doesn't concern standart headers like Accept, Connection, Host, Cookie
    You also set Host and Connection header and this may be dangerous, it is better to let http client do it.


  • administrators

    Sorry, but I'll probably won't include this change. Caus there are still many differences, Accept-Encoding for example.
    Web standarts says, that header order could be arbitrary so it shouldn't be a big problem.
    If you want to set headers order in http client, you will probably need to modify libcurl source(


Log in to reply
 

Looks like your connection to Bablosoft was lost, please wait while we try to reconnect.