How to send KeepAlive header correctly in c#?

后端 未结 2 1984

I need to send a request like this using HttpWebRequest:

POST https://sap.site.com.mx/sap/bw/BEx?SAP-LANGUAGE=ES&PAGENO=1&CMD=PROCESS_VARIABLES&REQUE         


        
2条回答
  •  鱼传尺愫
    2021-02-10 07:57

    When using HTTP/1.1, Keep-Alive is on by default.Setting KeepAlive to false may result in sending a Connection: Close header to the server.

提交回复
热议问题