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
When you add multiple headers to a request with the same key, only the last one will make it into the request. Restfox does deal with the case insensitivity correctly, so even with multiple case values in the keys only the last one will be added to the request.
Steps to reproduce:
Create a request to any valid HTTP server
Add two headers with the same key "X-Custom-Header" and with distinct values
Send the request and view the log in the Timeline tab or the output in the Request tab.
You will find that only the second header will be shown is shown, and the server will only get the second one.
Expected Results:
Both header entries will show up as distinct headers in the request.
The HTTP standard does support multiple values under the same key, either as separate entries or a list of comma separated values.
The text was updated successfully, but these errors were encountered:
My request implementation assumed that the headers would always be a unique key value pair. Looks like I was wrong. This might take a while to correct, as there's different request logic for each platform (web, electron, extension).
Version:
V0.36.0
The Issue:
When you add multiple headers to a request with the same key, only the last one will make it into the request. Restfox does deal with the case insensitivity correctly, so even with multiple case values in the keys only the last one will be added to the request.
Steps to reproduce:
Expected Results:
Both header entries will show up as distinct headers in the request.
The HTTP standard does support multiple values under the same key, either as separate entries or a list of comma separated values.
The text was updated successfully, but these errors were encountered: