AMBARI-4502. unit test failure in ambari-agent resource unit tests (aonishuk)
AMBARI-4482: We should set content type(do encoding), for data in body. URLStreamProvider.processURL.(vbrodetskyi)