def get_request_options(self, query_params=None, content=None, encoding=None):
        """
        Return the 'options' for sending the outgoing request.
        """
        options = {"headers": dict(self.headers), "params": query_params}

        if content is None:
            return options

        encoder = self.get_encoder(encoding)
        encoder.encode(options, content)
        return options

        Return the 'options' for sending the outgoing request.
        
apistar/client/transports.py