Maximum length of content?

倖福魔咒の 提交于 2019-12-01 18:29:57

Maybe it's a network MTU problem, I'd say you investigate on that front.

Here's a table relevant to windows:

Network             MTU (bytes)
-------------------------------
16 Mbps Token Ring        17914
4 Mbps Token Ring          4464
FDDI                       4352
Ethernet                   1500
IEEE 802.3/802.2           1492
PPPoE (WAN Miniport)       1480
X.25                        576

I recommand you to use the very helpful HTTP-REQUEST library by Kevin Sawicki...

It helped me a lot of times !

The server is responding 500 - server internal error. So you should check the server implementation. It should have restrictions above that content length.
I have a app that do a lot of server http requests and for me your problem really is the server. The main evidence is that your code works with content lower or equals then 1415 chars.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!