问题描述
有谁知道是否可以在 HTML 中发送自定义 http REQUEST 标头而无需使用 javascript(无 xhr 包装器).
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 them as meta tags within the head? Or may they be defined in the form somewhere?
<meta http-equip="x-something-custom" name="custom value" />
这可行,但是,这是一个 RESPONSE 标头.我需要设置一个 REQUEST 标头.
this works, however, this is a RESPONSE header. What I need to set a REQUEST header.
我不是在寻找在表单中设置隐藏字段,而是在寻找使用 html 标签进行的实际原始 http 标头操作.
I'm not looking for setting hidden fields in forms, but actual raw http header manipulation with html tags.
这可能吗?
推荐答案
有谁知道是否可以在不使用 JavaScript 的情况下以 HTML 格式发送自定义 HTTP 请求标头?
不,这不可能.
您认为这是解决方案的功能需求是什么?详细说明一下,也许我们可以想出一个合适的解决方案.
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.
这篇关于HTML 中的自定义 HTTP 请求标头的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!




大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)