kopia lustrzana https://gitlab.com/marnanel/chapeau
rm extra header in call in post_test_message()
rodzic
038d0ca2d1
commit
00116bbf85
|
@ -183,9 +183,8 @@ def post_test_message(
|
||||||
|
|
||||||
client.post(
|
client.post(
|
||||||
path = path,
|
path = path,
|
||||||
content_type = headers['content-type'], # XXX why twice?
|
content_type = headers['content-type'],
|
||||||
data = json.dumps(body),
|
data = json.dumps(body),
|
||||||
CONTENT_TYPE = headers['content-type'],
|
|
||||||
HTTP_DATE = headers['date'],
|
HTTP_DATE = headers['date'],
|
||||||
HOST = headers['host'],
|
HOST = headers['host'],
|
||||||
HTTP_SIGNATURE = headers['signature'],
|
HTTP_SIGNATURE = headers['signature'],
|
||||||
|
|
Ładowanie…
Reference in New Issue