you turn support on/off with the service point manager (default is on)
How to implement Expect 100-Coninue behavior in a WCF server ?
How to implement Expect 100-Coninue behavior in a WCF server ?
2 answers
Sort by: Most helpful
-
-
Jiayao Wu-MSFT 176 Reputation points Microsoft Vendor
2022-10-14T06:32:50.903+00:00 Hi @Jenus M ,
Gets or sets a Boolean value that determines whether 100-Continue behavior is used.
True
is the default value for expect 100-Continue.Here is the code example:
var req = (HttpWebRequest) WebRequest.Create(...); req.ServicePoint.Expect100Continue = True;
And you can take a look at the link for further info.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.