parameters: (self, response, marker_elems=None)
docstring: Helper to process the xml response from AWS
docstring_summary: Helper to process the xml response from AWS
docstring_tokens: Helper to process the xml response from AWS
function: def _process_response(self, response, marker_elems=None):
          """
          Helper to process the xml response from AWS
          """
          body = response.read()
          if self.debug == 2:
              print(body)
          if '<Errors>' not in body:
              rs = ResultSet(marker_elems)
              h = handler.XmlHandler(rs, self)
              xml.sax.parseString(body, h)
              return rs
          else:
              raise MTurkRequestError(response.status, response.reason, body)
function_tokens: def _process_response ( self , response , marker_elems = None ) : body = response . read ( ) if self . debug == 2 : print ( body ) if '<Errors>' not in body : rs = ResultSet ( marker_elems ) h = handler . XmlHandler ( rs , self ) xml . sax . parseString ( body , h ) return rs else : raise MTurkRequestError ( response . status , response . reason , body )