You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the feature / enhancement and how it would improve things
As now you can set custom headers in the CONNECT request, but if the dictionary is empty it will use default one. It would be better to make that if the dictionary is empty it wont add any header, considering also that sometimes there isn't the User-Agent headers.
I tried to edit a bit the library used but without any success. If you have any suggestion let me know :)__
Describe how your proposal will work, with code and/or pseudo-code
If we pass a empty dictionary in the method WithConnectHeaders, the CONNECT request will not have any headers except for the Host one.
The text was updated successfully, but these errors were encountered:
Fixed by editing the FHTTP Lib. Before I couldnt make it working since I had replaced the package with a wrong one.
In order to remove it, edit the FHTTP lib: inside request.go, line 622, remove the following IF condition:
Describe the feature / enhancement and how it would improve things
As now you can set custom headers in the CONNECT request, but if the dictionary is empty it will use default one. It would be better to make that if the dictionary is empty it wont add any header, considering also that sometimes there isn't the User-Agent headers.
I tried to edit a bit the library used but without any success. If you have any suggestion let me know :)__
Describe how your proposal will work, with code and/or pseudo-code
If we pass a empty dictionary in the method WithConnectHeaders, the CONNECT request will not have any headers except for the Host one.
The text was updated successfully, but these errors were encountered: