users@jersey.java.net

[Jersey] Handling Content-transfer-encoding

From: Daniel Josefsson <jideji_at_gmail.com>
Date: Wed, 17 Aug 2011 17:04:42 +0100

I am currently trying to get my jersey REST endpoint to accept and decode
base64-encoded content.

At the moment, when the header "Content-transfer-encoding: base64" is set
and the content is base64 encoded, the content I receive in my receiving
method is still base64-encoded. The method takes an inputstream.

How should this be handled?

I am not sure whether this should be handled by Jersey or Tomcat (or
something else). I can't find anything on the web when searching for it.


Thanks in advance,

Daniel