Closed GoogleCodeExporter closed 9 years ago
It should also be possible to register that a specific content-type should be
encoded using a pre-defined encoder. E.g.
registerEncoder("contentType", Encoder.XML);
Original comment by johan.ha...@gmail.com
on 21 Feb 2012 at 7:14
Also support setting a default encoder
Original comment by johan.ha...@gmail.com
on 21 Feb 2012 at 7:15
Also support registering a different encoder for a content-type:
registerEncoder(ContentType.XML, Encoder.JSON);
Original comment by johan.ha...@gmail.com
on 21 Feb 2012 at 7:16
Original comment by johan.ha...@gmail.com
on 21 Feb 2012 at 7:18
Also, could the default default-encoder just copy the bytes given?
Original comment by phas...@gmail.com
on 22 Feb 2012 at 12:03
Yes that sounds quite reasonable :)
The reason for for the default is form encoding is because the code originates
from HTTP Builder. I'll work on it for the next release.
Original comment by johan.ha...@gmail.com
on 22 Feb 2012 at 7:17
Original comment by johan.ha...@gmail.com
on 13 Nov 2013 at 11:18
Original issue reported on code.google.com by
johan.ha...@gmail.com
on 4 Sep 2011 at 8:29