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
Some servers pay attention to the order of the HTTP request headers. But it seems that this plugin automatically sorts headers in alphabetical order, which provokes a server error.
Here is an example of a successful request execution on Node.js:
* fix(http): retain headers order
closestauri-apps#1882
* simplify if
* actually set headers
---------
Co-authored-by: Lucas Nogueira <[email protected]>
Some servers pay attention to the order of the HTTP request headers. But it seems that this plugin automatically sorts headers in alphabetical order, which provokes a server error.
Here is an example of a successful request execution on Node.js:
At the time of Issue creation, the link is working; if it suddenly stops, I can provide a new one for testing and debugging.
If you execute the exact same request using fetch from the Tauri's http plugin, you get an error:
Also, in order to send all headers completely, you need to enable the "unsafe-headers" plugin option on the Rust code side.
I'm using the v2 version of the plugin, but I assume this applies to all versions, though I haven't tested it on others.
The text was updated successfully, but these errors were encountered: