Skip to content
Snippets Groups Projects
Commit 328577c6 authored by Gaelle.Barris's avatar Gaelle.Barris
Browse files

maj DescartesFilter

parent 0bc42c32
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@
</parent>
<groupId>fr.gouv.siig.descartes</groupId>
<artifactId>services</artifactId>
<version>1.0.0-RC3</version>
<version>1.0.0-RC4</version>
<packaging>war</packaging>
<name>Descartes - Services</name>
<description>Ensemble des Services Web de Descartes - Module D-WsMap</description>
......
......@@ -22,6 +22,7 @@ public class DescartesFilter implements Filter {
public void doFilter(ServletRequest request, ServletResponse response,
FilterChain chain) throws IOException, ServletException {
HttpServletResponse httpServletResponse = (HttpServletResponse) response;
serverHostId = serverHostId.split("\\.")[0];
httpServletResponse.setHeader(
"D-Server-Host-Id", serverHostId);
chain.doFilter(request, response);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment