http/okhttp3/CacheControl.html">okhttp3.CacheControl</a></span> }</li>
</ul>
</div><p>获取 HTTP 请求标头字段 <a href="httpRequestHeadersType.html#httprequestheaderstype_p_cache_control">cache-control</a> 的信息.</p>
<pre><code class="lang-js">let cacheControl = http.get(&#39;https://www.msn.com&#39;, {
    headers: {
        &#39;cache-control&#39;: &#39;no-transform, no-store, no-cache&#39;,
    },
    contentType: &#39;text/plain&#39;,
}).request.cacheControl();

console.log(cacheControl); // n