moe testing work.
This commit is contained in:
1 parent
80d31540d9
commit
d74093b48a
2 files changed
+8
-7
No files matched your search
@@ -46,11 +46,12 @@ namespace jet {
|
||||
coreutils::ZString contentLength(getenv("CONTENT_LENGTH"));
|
||||
coreutils::ZString contentType(getenv("CONTENT_TYPE"));
|
||||
|
||||
coreutils::MString postdata;
|
||||
postdata.read(0); // TODO: Need to limit the read characters to the CONTENT-LENGTH value;
|
||||
if(contentType == "multipart/form-data") {
|
||||
coreutils::IMFMultipart postdata(0, contentLength.asInteger());
|
||||
|
||||
}
|
||||
|
||||
|
||||
if(contentType == "multipart/form-data")
|
||||
global.setupFormData(postdata);
|
||||
else if(contentType == "application/x-www-form-urlencoded")
|
||||
global.setupFormURLEncoded(postdata);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user