Skip to content

Commit

Permalink
Remove context link header for IIIF image info response.
Browse files Browse the repository at this point in the history
  • Loading branch information
robcast committed Nov 23, 2017
1 parent 06935f4 commit 9b4d666
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions servlet/src/main/java/digilib/servlet/ServletOps.java
Original file line number Diff line number Diff line change
Expand Up @@ -495,9 +495,6 @@ public static void sendIiifInfo(DigilibServletRequest dlReq, HttpServletResponse
response.setContentType("application/ld+json");
} else {
response.setContentType("application/json");
response.setHeader("Link", "<http://iiif.io/api/image/2/context.json>"
+"; rel=\"http://www.w3.org/ns/json-ld#context\""
+"; type=\"application/ld+json\"");
}
// write info.json
ServletOutputStream out = response.getOutputStream();
Expand Down

0 comments on commit 9b4d666

Please sign in to comment.