Hi there,

I am using mongoose as a local webserver.
This server makes use of cURL to fetch headers / data from external 
websites / webservers.

Now , to send data , I use mg_send_data(conn, data, sizeof(data)); - which 
works perfectly fine.

My issue is, I get header data also in chunk. like this
"HTTP/1.1 401 Unauthorized  Content-Type: application/json  Date: Wed, 05 
Nov 2014 08:51:40 GMT  Server: WildFly/8  X-Powered-By: Undertow/1 
 transfer-encoding: chunked  Connection: keep-alive"

How do I send it to my client ? 
mg_send_headers( ) - would not be appropriate coz header info i have is in 
chunk and i am not sure how to seperate it as to use this API.

Kindly help on how can this chunked recieved header be sent to client.

Thanks,
Swati


-- 
You received this message because you are subscribed to the Google Groups 
"mongoose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mongoose-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to