header = delegate.fromString(str);
Assert.assertTrue(header.getLinksByRelationship().containsKey("index"));
Assert.assertTrue(header.getLinksByRelationship().containsKey("start"));
Assert.assertTrue(header.getLinksByRelationship().containsKey("http://example.net/relation/other"));
ClientRequest request = new ClientRequest(generateURL("/linkheader"));
request.header("link", "<http://example.org/>; rel=index;" +
" rel=\"start http://example.net/relation/other\"");
ClientResponse response = request.post();
header = response.getLinkHeader();
Assert.assertNotNull(header);
Assert.assertTrue(header.getLinksByRelationship().containsKey("index"));