MCPcopy Create free account
hub / github.com/cuberite/cuberite / Finish

Method Finish

src/HTTPServer/HTTPFormParser.cpp:101–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99
100
101bool cHTTPFormParser::Finish(void)
102{
103 switch (m_Kind)
104 {
105 case fpkURL:
106 case fpkFormUrlEncoded:
107 {
108 // m_IncomingData has all the form data, parse it now:
109 ParseFormUrlEncoded();
110 break;
111 }
112 default:
113 {
114 // Nothing needed for other formats
115 break;
116 }
117 }
118 return (m_IsValid && m_IncomingData.empty());
119}
120
121
122

Callers 3

OnPartHeaderMethod · 0.45
cMultipartParserMethod · 0.45
OnRequestFinishedMethod · 0.45

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected