zanata/zanata-client — pull request #39 by huangp (2014-12-11 05:02:59+00:00)
Title: rhbz1124630 - need to override accept header for some clients to work

Very strange. I needed to add accept header to these two resource clients to make it work.
Otherwise the Accept header will be set to "text/html, image/gif, image/jpeg, *" and on the server it will cause an exception at org/jboss/resteasy/plugins/delegates/MediaTypeHeaderDelegate.java:42 which in result returns a 415 unsupported media type.

I don't need to do this for other clients. I am very confused but this change fixed it.