[Original] Protocol conflict submitted by the server

Source: Internet
Author: User

An exception occurred when using httpwebrequest today,
Prompt that the server has submitted the Protocol conflict section = responsestatusline
After packet capture, we found the following interactions:
Post/service. ep http/1.1
Content-Type: Application/X-WWW-form-urlencoded; charset = UTF-8
User-Agent: Mozilla/4.0 (compatible; MSIE 5.00; Windows 98)
HOST: 127.0.0.1: 10900
Content-Length: 393
Secondary CT: 100-continue
Connection: keep-alive

Servic ...... % 3E

================================
Required bytes TTP/1.1 200 OK
Content-Type: text/html; charset = UTF-8
Content-Length: 269
Connection: Close

632836355380156250796096
7a46182a03213ed07bad242e2ff4e696
.....
==============
Note: Too Many TTP/1.1 200 OK. It turns out that the server returned an error. No wonder.
It is estimated that the server uses UTF-8 encoding.
And utf8 returns:Getpreamble() = Byte [] {0xef, 0xbb, 0xbf };

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.