The only diff between sending HTTP request with low-level HttpClient (that works) and using RestTemplate (that returns 406) I see now is that RestTemplate sends "Accept: text/plain, */*\r\n" while Http Client doesn't send this header. Will try to play with it ...
----- Best regards, Evgeny http://evgeny-goldin.com/ -- View this message in context: http://forums.jfrog.org/REST-API-returns-406-Not-Acceptable-when-working-with-Spring-3-RestTemplate-tp5231906p5243539.html Sent from the Artifactory - Users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Artifactory-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/artifactory-users
