cURL / Mailing Lists / curl-library / Single Mail


Re: POST, 100 continue, and 404

From: Daniel Stenberg <>
Date: Fri, 22 Jul 2011 08:31:09 +0200 (CEST)

On Thu, 21 Jul 2011, Steven Parkes wrote:

> I was thinking more about non-4XX/5XX codes. It's a squirly case, but what
> do you do if you get an early 2XX? Do you keep sending the body or close the
> request? Back to being fine as long as you don't skip the body. 'Course, an
> early 2XX is already kind of pathological ...
> Sounds like you have good tests for it, but I'll try to confirm against my
> workaround in the next couple of days.

For everything 2xx I let it keep sending, but yes I agree that a case of early
2xx seems very unlikely and hard to interpret what it really means.

List admin:
Received on 2011-07-22