curl / Mailing Lists / curl-library / Single Mail


Re: image can't be downloaded from sharepoint server using libcurl (c++ code): HTTP/1.1 503 Service Unavailable

From: Daniel Stenberg <>
Date: Fri, 24 Nov 2017 13:38:30 +0100 (CET)

On Fri, 24 Nov 2017, RHAIEM, Mohamed Slim via curl-library wrote:

> < HTTP/1.1 503 Service Unavailable

You didn't tell us what you do to get this, so the only thing we can talk
about is HTTP response code 503. It is documentedin RFC 7231 section 6.6.4 and

    The 503 (Service Unavailable) status code indicates that the server
    is currently unable to handle the request due to a temporary overload
    or scheduled maintenance, which will likely be alleviated after some
    delay. The server MAY send a Retry-After header field
    (Section 7.1.3) to suggest an appropriate amount of time for the
    client to wait before retrying the request.

Like all 5xx codes, the "fault" here is in the server. It is not caused by the
client - assuming it returns a correct response code.

Received on 2017-11-24