Change By: Daniel Bevenius (12/Mar/13 8:17 AM)
Description: Currently custom HTTP headers are configured on CustomMediaTypeResponder which is nice, but on the other hand would be great if we could move it to controller. Maybe creating something like a CustomHttpHeaderProducer (or whatever name) using the same approach done for CorsConfigProducer. For example (just an example):

{code}
    public CustomHttpHeaderConfiguration demoConfig() {
        return HttpConfig.enableCustomHttpSupport()
                .addHeader("Auth-Token","xxxx")
                .addHeader("AG-X", "xxxx")
                .build();
    }
   
{code}
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira