fabiobento512 / FRequest

FRequest - A fast, lightweight and opensource desktop application to make HTTP(s) requests
https://fabiobento512.github.io/FRequest
GNU General Public License v3.0
164 stars 14 forks source link

Check why duplicated headers can't be send #16

Closed fabiobento512 closed 3 years ago

fabiobento512 commented 4 years ago

Whole story here: https://github.com/fabiobento512/FRequest/pull/15#issuecomment-536308166

fabiobento512 commented 3 years ago

Seems that the link that added first (https://stackoverflow.com/a/4371395) was related to server responses, which is not a problem for FRequest.

I found this one that specific mentions requests with duplicated headers: https://stackoverflow.com/questions/36439308/parse-duplicate-http-headers-from-request-in-node

And by the HTTP RFC2616 this only allowed if only a single key is used. So that is also not a problem in FRequest. In this case FRequest should allow the users to override global headers with specific request headers (with the same key name). So I will add that feature back.