Commit e5036eae authored by Axel Auweter's avatar Axel Auweter
Browse files

Add Content-type CGI header to dcdbquery CGI output.

parent d056354d
......@@ -11,6 +11,7 @@
/* C standard headers */
#include <cstdlib>
#include <cstring>
#include <unistd.h>
/* Custom headers */
......@@ -59,6 +60,9 @@ int main(int argc, char * const argv[])
exit(EXIT_FAILURE);
}
/* Print content type */
std::cout << "Content-type: text/html" << std::endl << std::endl;
/* Create argcReal and argvReal */
argcReal = 1;
argvReal = (char**)malloc(sizeof(char*));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment