Skip to content

Instantly share code, notes, and snippets.

@charlycoste
Created March 15, 2013 21:50
Show Gist options
  • Save charlycoste/5173356 to your computer and use it in GitHub Desktop.
Save charlycoste/5173356 to your computer and use it in GitHub Desktop.
#include <cstdlib>
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
printf("Content-Type: text/plain;\n\n");
printf("ok");
int l = getenv("CONTENT_LENGTH");
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment