Remote Server Return Error: (411) length required

Source: Internet
Author: User

One day, adjustedProgramWhen a problem occurs, the customer reports "remote server return error: (411) required length". The customer does not have a network, and this error has never been seen before ......

Cause: the httprequest POST method and get method are incorrectly used.

When the request is a POST method, the request content must exist. If no content is requested, the above error is reported.

Change to get.

Note: iis5.1 does not perform the above check (XP), and does not check the web support provided by vs2005. Iis6.0 performs the preceding check (win2003 ).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.