cURL / Mailing Lists / curl-library / Single Mail


How to capture Error message from the Server

From: Colin Ngam <>
Date: Tue, 17 May 2016 18:36:24 +0000


In a PUT situation, you can register a callback to capture any messages from the Server. However, in the case of a GET, since the callback is used for receiving data from the server, how do you get error messages from the Server if any? How do you tell the difference when the callback is called that it is data or an extended error message from the Server?



The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to have electronic communications, including email and attachments, sent across its networks filtered through anti virus and spam software programs and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt.

List admin:
Received on 2016-05-17