On Fri, 13 Jun 2014 11:21:56 +0200 "chorem.org scm" <scm@users.chorem.org> wrote:
fix header when 'Transfer-Encoding:chunked'
Ça corrige quoi d'avoir déplacer le doProcess() ? merci, tony.
--- .../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 {
-- Tony Chemit -------------------- tél: +33 (0) 2 40 50 29 28 http://www.codelutin.com email: chemit@codelutin.com twitter: https://twitter.com/tchemit