how to set header’s origin in haxe.Http?
h.setHeader('Origin','localhost');//not work .how to do here?
how to set header’s origin in haxe.Http?
h.setHeader('Origin','localhost');//not work .how to do here?
According to Origin - HTTP | MDN it is a forbidden header name and cannot be modified by the user.
© 2018-2020 Haxe Foundation - Powered by Discourse