code: def _DeserializeResponse(self, payload):
          
          # Strip off the status line.
          status_line, payload = payload.split('\n', 1)
          _, status, _ = status_line.split(' ', 2)
  
          # Parse the rest of the response.
          parser = email_parser.Parser()
          msg = parser.parsestr(payload)
  
          # Get the headers.
          info = dict(msg)
          info['status'] = status
  
          # Create Response from the parsed headers.
          content = msg.get_payload()
  
          return http_wrapper.Response(info, content, self.__batch_url)
docs: Convert string into Response and content.
  
          Args:
            payload: Header and body string to be deserialized.
  
          Returns:
            A Response object