request.parseBody(m_is);
// Only process the request if there was no error.
if (!error)
{
ServiceRegistrationHandler processor = m_resolver.getProcessor(
request, response, request.getRequestURI());
if (processor != null)
{
processor.handle(close);
m_logger.log(Logger.LOG_DEBUG, "Processed " + request.toString());
// TODO: Adding next line to make test cases pass, but not sure if it is correct
// and needs further investigation.