feat(http): allow setting origin for unsafe headers (#1392)

* feat(http): allow setting `origin` for unsafe headers

closes #1389

* clippy

* Update .changes/http-origin-unsafe.md

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>

* Update commands.rs

* set origin not full url

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
This commit is contained in:
Amr Bashir
2024-05-30 22:09:32 +03:00
committed by GitHub
parent 554cb902b0
commit 0f739dbc48
2 changed files with 45 additions and 24 deletions
+6
View File
@@ -0,0 +1,6 @@
---
"http": "patch"
"http-js": "patch"
---
Allow setting `Origin` header when `unsafe-headers` feature flag is active.