[errorhandling] updates error handling to account for no way to check http method