# | Line 91 | Line 91 | void FeepingCreaturism::parse() | |
---|---|---|
91 | ||
92 | if (env.get("REQUEST_METHOD") == "POST") | |
93 | { | |
94 | < | std::streamsize length(lexical_cast<std::streamsize>(env.get("CONTENT_TYPE"))); |
94 | > | std::streamsize length(lexical_cast<std::streamsize>(env.get("CONTENT_LENGTH"))); |
95 | char* content(new char[length]); | |
96 | ||
97 | < | api::Cin.Read(content, length); |
97 | > | api::Cin.ReadFully(content, length); |
98 | query.write(content, length); | |
99 | ||
100 | delete [] content; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |