

def use_request_params(self, request):
    "\n        OAuth 1.0a only mentions POST requests, so for instance PUT bodies,\n        even it their content-type is application/x-www-form-urlencoded won't\n        be part of the signature base string.\n        "
    if (request.params is None):
        return False
    if (request.method.upper() in http.URLENCODE_METHODS):
        return True
    if (request.method.upper() != 'POST'):
        return False
    if isinstance(request.params, (port.text_type, port.binary_type)):
        return False
    return True

dataset/ETHPy150Open ducksboard/libsaas/libsaas/filters/auth.py OAuth1a.use_request_params/original