struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "victorsosa (JIRA)" <>
Subject [jira] [Commented] (WW-4558) contentType override ignored for JSONInterceptor
Date Sun, 14 Feb 2016 23:39:18 GMT


victorsosa commented on WW-4558:

Guys, one clarification.

we should use 'Accept' in the request and 'Content-Type' in the response. So is right to use
the content-type only in the response.

> contentType override ignored for JSONInterceptor
> ------------------------------------------------
>                 Key: WW-4558
>                 URL:
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - JSON
>    Affects Versions: 2.3.24
>            Reporter: Jasper Rosenberg
>            Priority: Minor
>             Fix For: 2.3.25
> JSONInterceptor takes a contentType parameter, but as far as I can tell does nothing
with it.  I would think a reasonable way to use it would be to have it used if available,
rather than the content type from the request so that the interceptor can be used when receiving
a JSON post from a third party that does not set the correct content type.

This message was sent by Atlassian JIRA

View raw message