added dump tag.
This commit is contained in:
1 parent
a9ce087939
commit
1c7edf3118
5 files changed
+60
-5
No files matched your search
@@ -15,12 +15,10 @@ namespace jet {
|
||||
coreutils::ZString contentType(getenv("CONTENT_TYPE"));
|
||||
|
||||
std::ofstream outFile("/tmp/output.txt");
|
||||
|
||||
|
||||
coreutils::MString postdata;
|
||||
postdata.read(0);
|
||||
outFile << postdata << std::endl;
|
||||
outFile.close();
|
||||
|
||||
postdata.read(0); // TODO: Need to limit the read characters to the CONTENT-LENGTH value;
|
||||
|
||||
if(contentType == "multipart/form-data")
|
||||
global.setupFormData(postdata);
|
||||
else if(contentType == "application/x-www-form-urlencoded")
|
||||
|
||||
Reference in new issue
Block a user