If I am not wrong, the Caller headers will be always overridden by the Callee ones (line 254). Anyway, I think we could add a test for that just to make sure that is not broken. Something like:
Test 1 (Calle headers win) * A Caller setting the Consumes and Produces. * A Callee setting different ones in the delegate method Test2 (Callee headers win) * A Caller setting the Consumes and Produces. * A Callee setting different ones at class level but not at method level Test3 (Caller headers win) * A Caller setting the Consumes and Produces. * A Callee without Consumes/Produces --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/226#issuecomment-30245597