login about faq

win7 64bit + VC11
After update chilkat 9.3.1 to 9.5.0
I can't succesfully upload file to server side here's the log and wireshark captured picture: alt text alt text

asked Mar 07 '14 at 04:01

cocoa5566's gravatar image

cocoa5566
122


There is a new bool property named Expect100Continue.

The default value is true. In your case, you'll want to set it equal to false:

http.put_Expect100Continue(false);

The reason this new property exists is as follows:

  1. Virtually all web server will return the "100 continue" intermediate response when an "Expect: 100-continue" is sent in the request. (The Expect100Continue property controls whether the Expect header is added.
  2. By adding the "Expect: 100-continue" header, it allows a web server to reject the HTTP request before receiving the file data. For example, imagine you are trying to upload a 100MB file and it will fail because of some sort of permissions problem. It's better to get the failure immediately after sending the HTTP request header, rather than after the entire upload has been sent.
link

answered Mar 09 '14 at 10:33

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×65
×50

Asked: Mar 07 '14 at 04:01

Seen: 889 times

Last updated: Mar 09 '14 at 10:33

powered by OSQA