Process the message received. We have reached the end of the headers.
| 1171 | |
| 1172 | // Process the message received. We have reached the end of the headers. |
| 1173 | void HttpResponder::ProcessMessage() noexcept |
| 1174 | { |
| 1175 | if (reprap.Debug(Module::Webserver)) |
| 1176 | { |
| 1177 | Platform& p = GetPlatform(); |
| 1178 | p.Message(UsbMessage, "HTTP req, command words {"); |
| 1179 | for (size_t i = 0; i < numCommandWords; ++i) |
| 1180 | { |
| 1181 | p.MessageF(UsbMessage, " %s", commandWords[i]); |
| 1182 | } |
| 1183 | p.Message(UsbMessage, " }, parameters {"); |
| 1184 | |
| 1185 | for (size_t i = 0; i < numQualKeys; ++i) |
| 1186 | { |
| 1187 | p.MessageF(UsbMessage, " %s=%s", qualifiers[i].key, qualifiers[i].value); |
| 1188 | } |
| 1189 | p.Message(UsbMessage, " }\n"); |
| 1190 | } |
| 1191 | |
| 1192 | responderState = ResponderState::processingRequest; |
| 1193 | startedProcessingRequestAt = millis(); |
| 1194 | } |
| 1195 | |
| 1196 | // Process the message received. We have reached the end of the headers. |
| 1197 | void HttpResponder::ProcessRequest() noexcept |