if (body.startsWith('<!DOCTYPE html>')) { Utils._WARN_('Invalid request', 'There was a problem with your request. The parameter(s) you gave are missing or incorrect.'); } else if (body.startsWith('Throttled')) { Utils._WARN_('Throttled request', 'There was a problem with request limit.');
return res.status(400).send(errors.server.MISSING_HEADER_TARGET); if (!target.startsWith('AWSStepFunctions.')) { return res.status(400).send(errors.server.MALFORMED_HEADER);