【问题标题】:How to remove gsoap version from http header如何从 http 标头中删除 gsoap 版本
【发布时间】:2016-02-17 05:51:01
【问题描述】:
POST / engelen/calcserver.cgi HTTP/1.1 
Host: websrv.cs.fsu.edu 
User-Agent: gSOAP/2.7 
Content-Type: text/xml; charset=utf-8 
Content-Length: 464 
Connection: close 
SOAPAction: "" 

如何删除 User-agent 标头?

【问题讨论】:

    标签: header http-headers gsoap


    【解决方案1】:

    嗯...不确定您为什么要这样做,因为用户代理标识不会以任何方式改变提供服务的方式。您可以更改http_post()stdsoap2.cpp 源代码以删除生成此标头的代码。或者也许编写您自己的 http_post() 回调来生成 HTTP 标头?

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2010-09-21
      • 2018-04-24
      • 1970-01-01
      • 1970-01-01
      • 2011-07-05
      • 2011-12-15
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多