Custom HTTP Request headers in HTML

后端 未结 2 565
情书的邮戳
情书的邮戳 2020-12-06 16:15

Does anyone know if its possible to send out custom http REQUEST headers in HTML without having to use javascript (no xhr wrapper).

Would it be possible to define th

相关标签:
2条回答
  • 2020-12-06 16:37

    Does anyone know if it's possible to send out custom HTTP request headers in HTML without having to use JavaScript?

    No, it's not possible.

    What is it, the functional requirement for which you think that this is the solution? Elaborate that, then we may be able to come up with a suitable solution.

    0 讨论(0)
  • 2020-12-06 16:38

    Why do you need to set something in the header?

    If it's for testing you can use a Firefox extension or a web proxy to manipulate the header.

    Otherwise, it cannot be done from HTML.

    0 讨论(0)
提交回复
热议问题