curl / Mailing Lists / curl-library / Single Mail


Re: my client is not able to get 301 when server sends 301 with custom header(X-******)

From: Daniel Stenberg via curl-library <>
Date: Wed, 28 Nov 2018 14:10:10 +0100 (CET)

On Wed, 28 Nov 2018, Sumedha Gawarikar via curl-library wrote:

> I have libcurl 7.48 version library and I am observing the below issue: When
> my server sends 301 response with the custom header(X-****), my client
> application receives response 0 from libcurl library.

Can you clarify what it means when it "receives response 0" ?

What's the 0 here? The response contents or the response code or something

> Could you please help me on this? Is there a change added to restrict the
> custom header?

I don't understand this either. How is your custom header in a request related
to what you get back in the response?

Received on 2018-11-28