def METHOD_NAME(self, request):
    if request.method == 'POST':
        body = request.POST.dict()
    else:
        body = None
    url = request.build_absolute_uri()
    return OAuth1Request(request.method, url, body, request.headers)