def METHOD_NAME(self):
    client = APIClient()
    client.login(username="super", password="test")
    project = fixture.get(Project, main_language_project=None)
    integration = fixture.get(
        Integration,
        project=project,
        integration_type=Integration.GITHUB_WEBHOOK,
        provider_data="",
    )
    resp = client.post(
        "/api/v2/webhook/github/{}/".format(project.slug),
        {"ref": "exchange_json"},
        format="json",
        HTTP_X_FORWARDED_FOR="1.2.3.4",
        HTTP_X_REAL_IP="5.6.7.8",
        HTTP_X_FOO="bar",
    )
    exchange = HttpExchange.objects.get(integrations=integration)
    self.assertEqual(
        exchange.request_headers,
        {
            "Content-Type": "application/json",
            "Cookie": "",
            "X-Foo": "bar",
        },
    )