When is an HTTP response finished?

前端 未结 2 1124
醉酒成梦
醉酒成梦 2020-12-04 03:35

I am writing a simple HTTP client in .NET for learning purposes. I am using the .NET Socket class, which ultimately uses Winsock. I do not want to use the WebRequest, HttpWe

2条回答
  •  忘掉有多难
    2020-12-04 04:18

    You should look at http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p1-messaging-24.html#message.body.length (if this doesn't answer your question then please send back to the Working Group).

提交回复
热议问题