[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] error with MHD_add_response_header

From: rahul bhola
Subject: [libmicrohttpd] error with MHD_add_response_header
Date: Wed, 5 Aug 2015 23:00:37 +0530

in function MHD_add_response_header ​, i added a check for MHD_NO option and it prints that the headers have been added successfully although i am unable to view them using "curl -I" command and also in firefox. Is there any specification that i am missing ?

here is the code implementation
also the print and other functions are working just fine.

requestHandle handler(con,clientResponse);                                                                                     handler.header("Content-Type","image/png");                                                                                     handler.print("hello world");                                                                  handler.status(10);                                                                            return handler.flush();

here is the code that i am calling from my main


reply via email to

[Prev in Thread] Current Thread [Next in Thread]