How to zip- compress HTTP request with Spring RestTemplate?
<p>How to gzip HTTP <strong>request</strong>, created by <code>org.springframework.web.client.RestTemplate?</code>  </p>

<p>I am using <code>Spring 4.2.6</code> with Spring <code>Boot 1.3.5</code> (Java SE, not Android or Javascript in the web browser).</p>

<p>I am making some really big <code>POST</code> requests, and I want <strong>request body</strong> to be compressed.</p>