DjangoのテストクライアントにHTTPヘッダを設定する

djangoでPOSTやGETのテストするときに、HTTPヘッダを設定する方法のメモ
パラメータとは別に**付きの辞書で渡す

from django.test.client import Client
c = Client()
response = c.post( '/books/',  {'title': 'Code Reading'},  **{'HTTP_AUTHORIZATION': 'd38duSDfh83hfh83fdso2'})