01/01: fix header when 'Transfer-Encoding:chunked'
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository pollen. See http://git.chorem.org/pollen.git commit 39a97d5daba46dafb862b31e740d5a19ed0e7aa5 Author: Adrien Garandel <a.garandel@dralagen.fr> Date: Fri Jun 13 11:18:13 2014 +0200 fix header when 'Transfer-Encoding:chunked' --- .../java/org/chorem/pollen/rest/api/PollenRestApiRequestFilter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pollen-rest-api/src/main/java/org/chorem/pollen/rest/api/PollenRestApiRequestFilter.java b/pollen-rest-api/src/main/java/org/chorem/pollen/rest/api/PollenRestApiRequestFilter.java index a31f7c3..5a15085 100644 --- a/pollen-rest-api/src/main/java/org/chorem/pollen/rest/api/PollenRestApiRequestFilter.java +++ b/pollen-rest-api/src/main/java/org/chorem/pollen/rest/api/PollenRestApiRequestFilter.java @@ -61,8 +61,6 @@ public class PollenRestApiRequestFilter extends WebMotionFilter { prepareRequestContext(context); - doProcess(); - if (HttpContext.METHOD_OPTIONS.equals(context.getMethod())) { Render render = call.getRender(); @@ -79,6 +77,8 @@ public class PollenRestApiRequestFilter extends WebMotionFilter { PollenRestApiUtil.prepareResponse(context); + doProcess(); + } protected PollenRestApiRequestContext prepareRequestContext(HttpContext context) throws PollenInvalidSessionTokenException { -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
participants (1)
-
chorem.org scm