private function makeRequestWithAccept($acceptHeader)
 {
     $request = new ServerRequest();
     return $request->withHeader('accept', $acceptHeader);
 }