Skip to content
Snippets Groups Projects
Commit f9ba5769 authored by Jesper Zedlitz's avatar Jesper Zedlitz
Browse files

Content-Type application/rdf+xml

catalog.xml sollte Content-Type application/rdf+xml haben.
parent e6f11ed5
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,6 @@ import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.InputStream;
......@@ -26,8 +25,8 @@ public class FilterController {
@Autowired
private CatalogFilter catalogFilter;
@RequestMapping(value = "/catalog.xml", produces = "application/xml")
public void catalog(@RequestParam(required = false) Integer page, HttpServletRequest request, HttpServletResponse response) throws IOException {
@RequestMapping(value = "/catalog.xml", produces = "application/rdf+xml")
public void catalog(@RequestParam(required = false) Integer page, HttpServletResponse response) throws IOException {
if (page == null)
page = 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment