curl-library
Fw: Problem in receiving compressed data.
Date: Tue, 6 Nov 2001 06:19:13 -0500
I am resending this email as it bounced previously.
Please see the problem mentioned below.,
Shailesh
----- Original Message -----
From: Shailesh Mittal
To: Curl Support
Sent: Tuesday, November 06, 2001 3:44 AM
Subject: Problem in receiving compressed data.
Hello,
I am facing problem in receiving the data compressed data from a servlet running on Tomcat. The client is in VisualC++. I am not sure if there is a problem in curl library or there is something i am doing wrong.
On the server I am doing the following,
{
response.setHeader("Content-Encoding", "gzip");
response.setContentType("text/plain");
out = new PrintWriter(new GZIPOutputStream(response.getOutputStream()), false);
out.println("XML Data to be compressed");
}
On the client, the code is
SetWebFormHeaders_b ("Accept-Encoding", "gzip");
SetWebFormHeaders_b ("Content-Type", "application/x-www-form-urlencoded");
--- /*attaching the callback finctions
---
retCC = curl_easy_perform(m_curl);
At this point if I see the transmitted data from server, no data is transmitted.
Please let me know how to resolve this problem.
Shailesh
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Received on 2001-11-07