mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-23 01:57:00 +03:00
Fix flake8 error
Fix flake8 error
This commit is contained in:
parent
c63ea01f4f
commit
a96ebd74b1
|
@ -10,6 +10,7 @@ from rest_framework import exceptions, HTTP_HEADER_ENCODING
|
||||||
from rest_framework.authtoken.models import Token
|
from rest_framework.authtoken.models import Token
|
||||||
from rest_framework.compat import get_user_model
|
from rest_framework.compat import get_user_model
|
||||||
|
|
||||||
|
|
||||||
def get_authorization_header(request):
|
def get_authorization_header(request):
|
||||||
"""
|
"""
|
||||||
Return request's 'Authorization:' header, as a bytestring.
|
Return request's 'Authorization:' header, as a bytestring.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user