webclient and expect100continue

后端 未结 4 1031
傲寒
傲寒 2021-02-14 21:52

What is the best way to set expect100continue when using WebClient(C#.NET). I have this code below, I still see 100 continue in the header. Stupid apache still complains with 50

4条回答
  •  有刺的猬
    2021-02-14 22:34

    Try to create the WebClient instanse after you change Expect100Continue to false. Or use a Webrequest instead of a WebClient

提交回复
热议问题