diff options
Diffstat (limited to 'BKUOnline/src')
-rw-r--r-- | BKUOnline/src/main/java/at/gv/egiz/bku/online/webapp/WebRequestHandler.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/BKUOnline/src/main/java/at/gv/egiz/bku/online/webapp/WebRequestHandler.java b/BKUOnline/src/main/java/at/gv/egiz/bku/online/webapp/WebRequestHandler.java index 0f432a10..4968b592 100644 --- a/BKUOnline/src/main/java/at/gv/egiz/bku/online/webapp/WebRequestHandler.java +++ b/BKUOnline/src/main/java/at/gv/egiz/bku/online/webapp/WebRequestHandler.java @@ -99,7 +99,6 @@ public class WebRequestHandler extends HttpServlet { headerMap.put(name, value); } } - bindingProcessor.setHTTPHeaders(headerMap); // set request stream InputStream inputStream; @@ -114,6 +113,8 @@ public class WebRequestHandler extends HttpServlet { inputStream = new ByteArrayInputStream(new byte[] {}); } } + + bindingProcessor.setHTTPHeaders(headerMap); bindingProcessor.consumeRequestStream(req.getRequestURL().toString(), inputStream); inputStream.close(); |