There's really no HTTPS header - it's HTTP header but it's send over SSL (so it's encrypted). If you own the server and handling requests there then you can pretty much add any header stuff if you are creating request anew (e.g. with HttpClient) but if you are intercepting it then I don't think there's much you can do since again - it's all encrypted
我假设您希望浏览器将附加信息发送到标头内的服务器。似乎有一个名为 修改标头 的插件,可能会这样做你想要什么。但这没有多大意义 - 您想要发送到应用程序的任何数据都可以更轻松地通过 GET 或 POST 发送。
如果您想将其他标头从 Web 应用程序发送到客户端,这会因语言而异。例如,在 PHP 中,您可以使用您的数据调用 标头函数想要发送。但同样,除非您有一些浏览器端应用程序可以读取这些标头(例如 FireBug 插件,它使用自定义标头来显示 PHP 调试信息),否则没有多大意义。
I'm assuming you want your browser to send additional information to the server inside the headers. There appears to be a plugin for this called modify headers which might do what you want. But there's not much point - any data you want to send to your application can more easily be send in your GET or POST.
If you want to send additional headers from your web application to the client, this varies by language. In PHP for instance, you call the header function with the data you want to send. But again, there is not much point unless you have some browser-side application that reads these headers (like the FireBug plugin, which uses custom headers to display PHP debugging information).
发布评论
评论(2)
实际上没有 HTTPS 标头 - 它是 HTTP 标头,但通过 SSL 发送(因此已加密)。如果您拥有服务器并在那里处理请求,那么如果您重新创建请求(例如使用 HttpClient),那么您几乎可以添加任何标头内容,但是如果您拦截它,那么我认为您从那以后就没有什么可以做的了 - 这是全部加密
There's really no HTTPS header - it's HTTP header but it's send over SSL (so it's encrypted). If you own the server and handling requests there then you can pretty much add any header stuff if you are creating request anew (e.g. with HttpClient) but if you are intercepting it then I don't think there's much you can do since again - it's all encrypted
我假设您希望浏览器将附加信息发送到标头内的服务器。似乎有一个名为 修改标头 的插件,可能会这样做你想要什么。但这没有多大意义 - 您想要发送到应用程序的任何数据都可以更轻松地通过 GET 或 POST 发送。
如果您想将其他标头从 Web 应用程序发送到客户端,这会因语言而异。例如,在 PHP 中,您可以使用您的数据调用 标头函数想要发送。但同样,除非您有一些浏览器端应用程序可以读取这些标头(例如 FireBug 插件,它使用自定义标头来显示 PHP 调试信息),否则没有多大意义。
I'm assuming you want your browser to send additional information to the server inside the headers. There appears to be a plugin for this called modify headers which might do what you want. But there's not much point - any data you want to send to your application can more easily be send in your GET or POST.
If you want to send additional headers from your web application to the client, this varies by language. In PHP for instance, you call the header function with the data you want to send. But again, there is not much point unless you have some browser-side application that reads these headers (like the FireBug plugin, which uses custom headers to display PHP debugging information).