diff --git a/testing.rst b/testing.rst index b88a55832a5..189440f5195 100644 --- a/testing.rst +++ b/testing.rst @@ -745,8 +745,10 @@ a shortcut to make AJAX requests:: // the required HTTP_X_REQUESTED_WITH header is added automatically $client->xmlHttpRequest('POST', '/submit', ['name' => 'Fabien']); -Sending Custom Headers -...................... +.. _sending-custom-headers: + +Sending Custom HTTP Headers +........................... If your application behaves according to some HTTP headers, pass them as the second argument of ``createClient()``::