HTTPWebRequest Expect header

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

Hi,

This is one which I've seen several times on the web but no-ones ever come
up with a definite answer or response:

When sending HTTP requests through HTTPWebRequest it always includes the
header: Expect: 100-continue

Is there any way I can restrict this from happening?

Thanks,
Dave
 
Hi Dave,

Try playing with the Expect property. You can also try setting the
ProtocolVersion property to HttpVersion.10.

You can also refer to RFC 2616 section 8.2.3 for details on this header.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top