hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1572159 [18/45] - in /httpcomponents/site: ./ css/ httpcomponents-asyncclient-4.0.x/ httpcomponents-client-4.2.x/ httpcomponents-client-4.3.x/ httpcomponents-client-4.3.x/fluent-hc/ httpcomponents-client-4.3.x/fluent-hc/apidocs/ httpcompon...
Date Wed, 26 Feb 2014 16:48:15 GMT
Modified: httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/org/apache/http/impl/client/cache/ResponseProtocolCompliance.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/org/apache/http/impl/client/cache/ResponseProtocolCompliance.html?rev=1572159&r1=1572158&r2=1572159&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/org/apache/http/impl/client/cache/ResponseProtocolCompliance.html (original)
+++ httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/org/apache/http/impl/client/cache/ResponseProtocolCompliance.html Wed Feb 26 16:47:55 2014
@@ -56,210 +56,209 @@
 <a class="jxr_linenumber" name="46" href="#46">46</a>  <strong class="jxr_keyword">import</strong> org.apache.http.client.utils.DateUtils;
 <a class="jxr_linenumber" name="47" href="#47">47</a>  <strong class="jxr_keyword">import</strong> org.apache.http.message.BasicHeader;
 <a class="jxr_linenumber" name="48" href="#48">48</a>  <strong class="jxr_keyword">import</strong> org.apache.http.protocol.HTTP;
-<a class="jxr_linenumber" name="49" href="#49">49</a>  <strong class="jxr_keyword">import</strong> org.apache.http.util.EntityUtils;
-<a class="jxr_linenumber" name="50" href="#50">50</a>  
-<a class="jxr_linenumber" name="51" href="#51">51</a>  <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="52" href="#52">52</a>  <em class="jxr_javadoccomment"> * @since 4.1</em>
-<a class="jxr_linenumber" name="53" href="#53">53</a>  <em class="jxr_javadoccomment"> */</em>
-<a class="jxr_linenumber" name="54" href="#54">54</a>  @Immutable
-<a class="jxr_linenumber" name="55" href="#55">55</a>  <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/http/impl/client/cache/ResponseProtocolCompliance.html">ResponseProtocolCompliance</a> {
-<a class="jxr_linenumber" name="56" href="#56">56</a>  
-<a class="jxr_linenumber" name="57" href="#57">57</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String UNEXPECTED_100_CONTINUE = <span class="jxr_string">"The incoming request did not contain a "</span>
-<a class="jxr_linenumber" name="58" href="#58">58</a>                      + <span class="jxr_string">"100-continue header, but the response was a Status 100, continue."</span>;
-<a class="jxr_linenumber" name="59" href="#59">59</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String UNEXPECTED_PARTIAL_CONTENT = <span class="jxr_string">"partial content was returned for a request that did not ask for it"</span>;
-<a class="jxr_linenumber" name="60" href="#60">60</a>  
-<a class="jxr_linenumber" name="61" href="#61">61</a>      <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="62" href="#62">62</a>  <em class="jxr_javadoccomment">     * When we get a response from a down stream server (Origin Server)</em>
-<a class="jxr_linenumber" name="63" href="#63">63</a>  <em class="jxr_javadoccomment">     * we attempt to see if it is HTTP 1.1 Compliant and if not, attempt to</em>
-<a class="jxr_linenumber" name="64" href="#64">64</a>  <em class="jxr_javadoccomment">     * make it so.</em>
-<a class="jxr_linenumber" name="65" href="#65">65</a>  <em class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="66" href="#66">66</a>  <em class="jxr_javadoccomment">     * @param request The {@link HttpRequest} that generated an origin hit and response</em>
-<a class="jxr_linenumber" name="67" href="#67">67</a>  <em class="jxr_javadoccomment">     * @param response The {@link HttpResponse} from the origin server</em>
-<a class="jxr_linenumber" name="68" href="#68">68</a>  <em class="jxr_javadoccomment">     * @throws IOException Bad things happened</em>
-<a class="jxr_linenumber" name="69" href="#69">69</a>  <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="70" href="#70">70</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> ensureProtocolCompliance(<strong class="jxr_keyword">final</strong> HttpRequestWrapper request, <strong class="jxr_keyword">final</strong> HttpResponse response)
-<a class="jxr_linenumber" name="71" href="#71">71</a>              <strong class="jxr_keyword">throws</strong> IOException {
-<a class="jxr_linenumber" name="72" href="#72">72</a>          <strong class="jxr_keyword">if</strong> (backendResponseMustNotHaveBody(request, response)) {
-<a class="jxr_linenumber" name="73" href="#73">73</a>              consumeBody(response);
-<a class="jxr_linenumber" name="74" href="#74">74</a>              response.setEntity(<strong class="jxr_keyword">null</strong>);
-<a class="jxr_linenumber" name="75" href="#75">75</a>          }
-<a class="jxr_linenumber" name="76" href="#76">76</a>  
-<a class="jxr_linenumber" name="77" href="#77">77</a>          requestDidNotExpect100ContinueButResponseIsOne(request, response);
-<a class="jxr_linenumber" name="78" href="#78">78</a>  
-<a class="jxr_linenumber" name="79" href="#79">79</a>          transferEncodingIsNotReturnedTo1_0Client(request, response);
-<a class="jxr_linenumber" name="80" href="#80">80</a>  
-<a class="jxr_linenumber" name="81" href="#81">81</a>          ensurePartialContentIsNotSentToAClientThatDidNotRequestIt(request, response);
-<a class="jxr_linenumber" name="82" href="#82">82</a>  
-<a class="jxr_linenumber" name="83" href="#83">83</a>          ensure200ForOPTIONSRequestWithNoBodyHasContentLengthZero(request, response);
-<a class="jxr_linenumber" name="84" href="#84">84</a>  
-<a class="jxr_linenumber" name="85" href="#85">85</a>          ensure206ContainsDateHeader(response);
-<a class="jxr_linenumber" name="86" href="#86">86</a>  
-<a class="jxr_linenumber" name="87" href="#87">87</a>          ensure304DoesNotContainExtraEntityHeaders(response);
-<a class="jxr_linenumber" name="88" href="#88">88</a>  
-<a class="jxr_linenumber" name="89" href="#89">89</a>          identityIsNotUsedInContentEncoding(response);
-<a class="jxr_linenumber" name="90" href="#90">90</a>  
-<a class="jxr_linenumber" name="91" href="#91">91</a>          warningsWithNonMatchingWarnDatesAreRemoved(response);
-<a class="jxr_linenumber" name="92" href="#92">92</a>      }
-<a class="jxr_linenumber" name="93" href="#93">93</a>  
-<a class="jxr_linenumber" name="94" href="#94">94</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> consumeBody(<strong class="jxr_keyword">final</strong> HttpResponse response) <strong class="jxr_keyword">throws</strong> IOException {
-<a class="jxr_linenumber" name="95" href="#95">95</a>          <strong class="jxr_keyword">final</strong> HttpEntity body = response.getEntity();
-<a class="jxr_linenumber" name="96" href="#96">96</a>          <strong class="jxr_keyword">if</strong> (body != <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="97" href="#97">97</a>              EntityUtils.consume(body);
-<a class="jxr_linenumber" name="98" href="#98">98</a>          }
-<a class="jxr_linenumber" name="99" href="#99">99</a>      }
-<a class="jxr_linenumber" name="100" href="#100">100</a> 
-<a class="jxr_linenumber" name="101" href="#101">101</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> warningsWithNonMatchingWarnDatesAreRemoved(
-<a class="jxr_linenumber" name="102" href="#102">102</a>             <strong class="jxr_keyword">final</strong> HttpResponse response) {
-<a class="jxr_linenumber" name="103" href="#103">103</a>         <strong class="jxr_keyword">final</strong> Date responseDate = DateUtils.parseDate(response.getFirstHeader(HTTP.DATE_HEADER).getValue());
-<a class="jxr_linenumber" name="104" href="#104">104</a>         <strong class="jxr_keyword">if</strong> (responseDate == <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="105" href="#105">105</a>             <strong class="jxr_keyword">return</strong>;
-<a class="jxr_linenumber" name="106" href="#106">106</a>         }
-<a class="jxr_linenumber" name="107" href="#107">107</a> 
-<a class="jxr_linenumber" name="108" href="#108">108</a>         <strong class="jxr_keyword">final</strong> Header[] warningHeaders = response.getHeaders(HeaderConstants.WARNING);
-<a class="jxr_linenumber" name="109" href="#109">109</a> 
-<a class="jxr_linenumber" name="110" href="#110">110</a>         <strong class="jxr_keyword">if</strong> (warningHeaders == <strong class="jxr_keyword">null</strong> || warningHeaders.length == 0) {
-<a class="jxr_linenumber" name="111" href="#111">111</a>             <strong class="jxr_keyword">return</strong>;
-<a class="jxr_linenumber" name="112" href="#112">112</a>         }
-<a class="jxr_linenumber" name="113" href="#113">113</a> 
-<a class="jxr_linenumber" name="114" href="#114">114</a>         <strong class="jxr_keyword">final</strong> List&lt;Header&gt; newWarningHeaders = <strong class="jxr_keyword">new</strong> ArrayList&lt;Header&gt;();
-<a class="jxr_linenumber" name="115" href="#115">115</a>         <strong class="jxr_keyword">boolean</strong> modified = false;
-<a class="jxr_linenumber" name="116" href="#116">116</a>         <strong class="jxr_keyword">for</strong>(<strong class="jxr_keyword">final</strong> Header h : warningHeaders) {
-<a class="jxr_linenumber" name="117" href="#117">117</a>             <strong class="jxr_keyword">for</strong>(<strong class="jxr_keyword">final</strong> <a href="../../../../../../org/apache/http/impl/client/cache/WarningValue.html">WarningValue</a> wv : WarningValue.getWarningValues(h)) {
-<a class="jxr_linenumber" name="118" href="#118">118</a>                 <strong class="jxr_keyword">final</strong> Date warnDate = wv.getWarnDate();
-<a class="jxr_linenumber" name="119" href="#119">119</a>                 <strong class="jxr_keyword">if</strong> (warnDate == <strong class="jxr_keyword">null</strong> || warnDate.equals(responseDate)) {
-<a class="jxr_linenumber" name="120" href="#120">120</a>                     newWarningHeaders.add(<strong class="jxr_keyword">new</strong> BasicHeader(HeaderConstants.WARNING,wv.toString()));
-<a class="jxr_linenumber" name="121" href="#121">121</a>                 } <strong class="jxr_keyword">else</strong> {
-<a class="jxr_linenumber" name="122" href="#122">122</a>                     modified = <strong class="jxr_keyword">true</strong>;
-<a class="jxr_linenumber" name="123" href="#123">123</a>                 }
-<a class="jxr_linenumber" name="124" href="#124">124</a>             }
-<a class="jxr_linenumber" name="125" href="#125">125</a>         }
-<a class="jxr_linenumber" name="126" href="#126">126</a>         <strong class="jxr_keyword">if</strong> (modified) {
-<a class="jxr_linenumber" name="127" href="#127">127</a>             response.removeHeaders(HeaderConstants.WARNING);
-<a class="jxr_linenumber" name="128" href="#128">128</a>             <strong class="jxr_keyword">for</strong>(<strong class="jxr_keyword">final</strong> Header h : newWarningHeaders) {
-<a class="jxr_linenumber" name="129" href="#129">129</a>                 response.addHeader(h);
-<a class="jxr_linenumber" name="130" href="#130">130</a>             }
-<a class="jxr_linenumber" name="131" href="#131">131</a>         }
-<a class="jxr_linenumber" name="132" href="#132">132</a>     }
-<a class="jxr_linenumber" name="133" href="#133">133</a> 
-<a class="jxr_linenumber" name="134" href="#134">134</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> identityIsNotUsedInContentEncoding(<strong class="jxr_keyword">final</strong> HttpResponse response) {
-<a class="jxr_linenumber" name="135" href="#135">135</a>         <strong class="jxr_keyword">final</strong> Header[] hdrs = response.getHeaders(HTTP.CONTENT_ENCODING);
-<a class="jxr_linenumber" name="136" href="#136">136</a>         <strong class="jxr_keyword">if</strong> (hdrs == <strong class="jxr_keyword">null</strong> || hdrs.length == 0) {
-<a class="jxr_linenumber" name="137" href="#137">137</a>             <strong class="jxr_keyword">return</strong>;
-<a class="jxr_linenumber" name="138" href="#138">138</a>         }
-<a class="jxr_linenumber" name="139" href="#139">139</a>         <strong class="jxr_keyword">final</strong> List&lt;Header&gt; newHeaders = <strong class="jxr_keyword">new</strong> ArrayList&lt;Header&gt;();
-<a class="jxr_linenumber" name="140" href="#140">140</a>         <strong class="jxr_keyword">boolean</strong> modified = false;
-<a class="jxr_linenumber" name="141" href="#141">141</a>         <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">final</strong> Header h : hdrs) {
-<a class="jxr_linenumber" name="142" href="#142">142</a>             <strong class="jxr_keyword">final</strong> StringBuilder buf = <strong class="jxr_keyword">new</strong> StringBuilder();
-<a class="jxr_linenumber" name="143" href="#143">143</a>             <strong class="jxr_keyword">boolean</strong> first = <strong class="jxr_keyword">true</strong>;
-<a class="jxr_linenumber" name="144" href="#144">144</a>             <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">final</strong> HeaderElement elt : h.getElements()) {
-<a class="jxr_linenumber" name="145" href="#145">145</a>                 <strong class="jxr_keyword">if</strong> (<span class="jxr_string">"identity"</span>.equalsIgnoreCase(elt.getName())) {
-<a class="jxr_linenumber" name="146" href="#146">146</a>                     modified = <strong class="jxr_keyword">true</strong>;
-<a class="jxr_linenumber" name="147" href="#147">147</a>                 } <strong class="jxr_keyword">else</strong> {
-<a class="jxr_linenumber" name="148" href="#148">148</a>                     <strong class="jxr_keyword">if</strong> (!first) {
-<a class="jxr_linenumber" name="149" href="#149">149</a>                         buf.append(<span class="jxr_string">","</span>);
-<a class="jxr_linenumber" name="150" href="#150">150</a>                     }
-<a class="jxr_linenumber" name="151" href="#151">151</a>                     buf.append(elt.toString());
-<a class="jxr_linenumber" name="152" href="#152">152</a>                     first = false;
-<a class="jxr_linenumber" name="153" href="#153">153</a>                 }
-<a class="jxr_linenumber" name="154" href="#154">154</a>             }
-<a class="jxr_linenumber" name="155" href="#155">155</a>             <strong class="jxr_keyword">final</strong> String newHeaderValue = buf.toString();
-<a class="jxr_linenumber" name="156" href="#156">156</a>             <strong class="jxr_keyword">if</strong> (!<span class="jxr_string">""</span>.equals(newHeaderValue)) {
-<a class="jxr_linenumber" name="157" href="#157">157</a>                 newHeaders.add(<strong class="jxr_keyword">new</strong> BasicHeader(HTTP.CONTENT_ENCODING, newHeaderValue));
-<a class="jxr_linenumber" name="158" href="#158">158</a>             }
-<a class="jxr_linenumber" name="159" href="#159">159</a>         }
-<a class="jxr_linenumber" name="160" href="#160">160</a>         <strong class="jxr_keyword">if</strong> (!modified) {
-<a class="jxr_linenumber" name="161" href="#161">161</a>             <strong class="jxr_keyword">return</strong>;
-<a class="jxr_linenumber" name="162" href="#162">162</a>         }
-<a class="jxr_linenumber" name="163" href="#163">163</a>         response.removeHeaders(HTTP.CONTENT_ENCODING);
-<a class="jxr_linenumber" name="164" href="#164">164</a>         <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">final</strong> Header h : newHeaders) {
-<a class="jxr_linenumber" name="165" href="#165">165</a>             response.addHeader(h);
-<a class="jxr_linenumber" name="166" href="#166">166</a>         }
-<a class="jxr_linenumber" name="167" href="#167">167</a>     }
-<a class="jxr_linenumber" name="168" href="#168">168</a> 
-<a class="jxr_linenumber" name="169" href="#169">169</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> ensure206ContainsDateHeader(<strong class="jxr_keyword">final</strong> HttpResponse response) {
-<a class="jxr_linenumber" name="170" href="#170">170</a>         <strong class="jxr_keyword">if</strong> (response.getFirstHeader(HTTP.DATE_HEADER) == <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="171" href="#171">171</a>             response.addHeader(HTTP.DATE_HEADER, DateUtils.formatDate(<strong class="jxr_keyword">new</strong> Date()));
-<a class="jxr_linenumber" name="172" href="#172">172</a>         }
-<a class="jxr_linenumber" name="173" href="#173">173</a> 
-<a class="jxr_linenumber" name="174" href="#174">174</a>     }
-<a class="jxr_linenumber" name="175" href="#175">175</a> 
-<a class="jxr_linenumber" name="176" href="#176">176</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> ensurePartialContentIsNotSentToAClientThatDidNotRequestIt(<strong class="jxr_keyword">final</strong> HttpRequest request,
-<a class="jxr_linenumber" name="177" href="#177">177</a>             <strong class="jxr_keyword">final</strong> HttpResponse response) <strong class="jxr_keyword">throws</strong> IOException {
-<a class="jxr_linenumber" name="178" href="#178">178</a>         <strong class="jxr_keyword">if</strong> (request.getFirstHeader(HeaderConstants.RANGE) != <strong class="jxr_keyword">null</strong>
-<a class="jxr_linenumber" name="179" href="#179">179</a>                 || response.getStatusLine().getStatusCode() != HttpStatus.SC_PARTIAL_CONTENT) {
-<a class="jxr_linenumber" name="180" href="#180">180</a>             <strong class="jxr_keyword">return</strong>;
-<a class="jxr_linenumber" name="181" href="#181">181</a>         }
-<a class="jxr_linenumber" name="182" href="#182">182</a> 
-<a class="jxr_linenumber" name="183" href="#183">183</a>         consumeBody(response);
-<a class="jxr_linenumber" name="184" href="#184">184</a>         <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> ClientProtocolException(UNEXPECTED_PARTIAL_CONTENT);
-<a class="jxr_linenumber" name="185" href="#185">185</a>     }
-<a class="jxr_linenumber" name="186" href="#186">186</a> 
-<a class="jxr_linenumber" name="187" href="#187">187</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> ensure200ForOPTIONSRequestWithNoBodyHasContentLengthZero(<strong class="jxr_keyword">final</strong> HttpRequest request,
-<a class="jxr_linenumber" name="188" href="#188">188</a>             <strong class="jxr_keyword">final</strong> HttpResponse response) {
-<a class="jxr_linenumber" name="189" href="#189">189</a>         <strong class="jxr_keyword">if</strong> (!request.getRequestLine().getMethod().equalsIgnoreCase(HeaderConstants.OPTIONS_METHOD)) {
-<a class="jxr_linenumber" name="190" href="#190">190</a>             <strong class="jxr_keyword">return</strong>;
-<a class="jxr_linenumber" name="191" href="#191">191</a>         }
-<a class="jxr_linenumber" name="192" href="#192">192</a> 
-<a class="jxr_linenumber" name="193" href="#193">193</a>         <strong class="jxr_keyword">if</strong> (response.getStatusLine().getStatusCode() != HttpStatus.SC_OK) {
-<a class="jxr_linenumber" name="194" href="#194">194</a>             <strong class="jxr_keyword">return</strong>;
-<a class="jxr_linenumber" name="195" href="#195">195</a>         }
-<a class="jxr_linenumber" name="196" href="#196">196</a> 
-<a class="jxr_linenumber" name="197" href="#197">197</a>         <strong class="jxr_keyword">if</strong> (response.getFirstHeader(HTTP.CONTENT_LEN) == <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="198" href="#198">198</a>             response.addHeader(HTTP.CONTENT_LEN, <span class="jxr_string">"0"</span>);
-<a class="jxr_linenumber" name="199" href="#199">199</a>         }
-<a class="jxr_linenumber" name="200" href="#200">200</a>     }
-<a class="jxr_linenumber" name="201" href="#201">201</a> 
-<a class="jxr_linenumber" name="202" href="#202">202</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> ensure304DoesNotContainExtraEntityHeaders(<strong class="jxr_keyword">final</strong> HttpResponse response) {
-<a class="jxr_linenumber" name="203" href="#203">203</a>         <strong class="jxr_keyword">final</strong> String[] disallowedEntityHeaders = { HeaderConstants.ALLOW, HTTP.CONTENT_ENCODING,
-<a class="jxr_linenumber" name="204" href="#204">204</a>                 <span class="jxr_string">"Content-Language"</span>, HTTP.CONTENT_LEN, <span class="jxr_string">"Content-MD5"</span>,
-<a class="jxr_linenumber" name="205" href="#205">205</a>                 <span class="jxr_string">"Content-Range"</span>, HTTP.CONTENT_TYPE, HeaderConstants.LAST_MODIFIED
-<a class="jxr_linenumber" name="206" href="#206">206</a>         };
-<a class="jxr_linenumber" name="207" href="#207">207</a>         <strong class="jxr_keyword">if</strong> (response.getStatusLine().getStatusCode() == HttpStatus.SC_NOT_MODIFIED) {
-<a class="jxr_linenumber" name="208" href="#208">208</a>             <strong class="jxr_keyword">for</strong>(<strong class="jxr_keyword">final</strong> String hdr : disallowedEntityHeaders) {
-<a class="jxr_linenumber" name="209" href="#209">209</a>                 response.removeHeaders(hdr);
-<a class="jxr_linenumber" name="210" href="#210">210</a>             }
-<a class="jxr_linenumber" name="211" href="#211">211</a>         }
-<a class="jxr_linenumber" name="212" href="#212">212</a>     }
-<a class="jxr_linenumber" name="213" href="#213">213</a> 
-<a class="jxr_linenumber" name="214" href="#214">214</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> backendResponseMustNotHaveBody(<strong class="jxr_keyword">final</strong> HttpRequest request, <strong class="jxr_keyword">final</strong> HttpResponse backendResponse) {
-<a class="jxr_linenumber" name="215" href="#215">215</a>         <strong class="jxr_keyword">return</strong> HeaderConstants.HEAD_METHOD.equals(request.getRequestLine().getMethod())
-<a class="jxr_linenumber" name="216" href="#216">216</a>                 || backendResponse.getStatusLine().getStatusCode() == HttpStatus.SC_NO_CONTENT
-<a class="jxr_linenumber" name="217" href="#217">217</a>                 || backendResponse.getStatusLine().getStatusCode() == HttpStatus.SC_RESET_CONTENT
-<a class="jxr_linenumber" name="218" href="#218">218</a>                 || backendResponse.getStatusLine().getStatusCode() == HttpStatus.SC_NOT_MODIFIED;
-<a class="jxr_linenumber" name="219" href="#219">219</a>     }
-<a class="jxr_linenumber" name="220" href="#220">220</a> 
-<a class="jxr_linenumber" name="221" href="#221">221</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> requestDidNotExpect100ContinueButResponseIsOne(<strong class="jxr_keyword">final</strong> HttpRequestWrapper request,
-<a class="jxr_linenumber" name="222" href="#222">222</a>             <strong class="jxr_keyword">final</strong> HttpResponse response) <strong class="jxr_keyword">throws</strong> IOException {
-<a class="jxr_linenumber" name="223" href="#223">223</a>         <strong class="jxr_keyword">if</strong> (response.getStatusLine().getStatusCode() != HttpStatus.SC_CONTINUE) {
-<a class="jxr_linenumber" name="224" href="#224">224</a>             <strong class="jxr_keyword">return</strong>;
-<a class="jxr_linenumber" name="225" href="#225">225</a>         }
-<a class="jxr_linenumber" name="226" href="#226">226</a> 
-<a class="jxr_linenumber" name="227" href="#227">227</a>         <strong class="jxr_keyword">final</strong> HttpRequest originalRequest = request.getOriginal();
-<a class="jxr_linenumber" name="228" href="#228">228</a>         <strong class="jxr_keyword">if</strong> (originalRequest instanceof HttpEntityEnclosingRequest) {
-<a class="jxr_linenumber" name="229" href="#229">229</a>             <strong class="jxr_keyword">if</strong> (((HttpEntityEnclosingRequest)originalRequest).expectContinue()) {
-<a class="jxr_linenumber" name="230" href="#230">230</a>                 <strong class="jxr_keyword">return</strong>;
-<a class="jxr_linenumber" name="231" href="#231">231</a>             }
-<a class="jxr_linenumber" name="232" href="#232">232</a>         }
-<a class="jxr_linenumber" name="233" href="#233">233</a>         consumeBody(response);
-<a class="jxr_linenumber" name="234" href="#234">234</a>         <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> ClientProtocolException(UNEXPECTED_100_CONTINUE);
-<a class="jxr_linenumber" name="235" href="#235">235</a>     }
-<a class="jxr_linenumber" name="236" href="#236">236</a> 
-<a class="jxr_linenumber" name="237" href="#237">237</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> transferEncodingIsNotReturnedTo1_0Client(<strong class="jxr_keyword">final</strong> HttpRequestWrapper request,
-<a class="jxr_linenumber" name="238" href="#238">238</a>             <strong class="jxr_keyword">final</strong> HttpResponse response) {
-<a class="jxr_linenumber" name="239" href="#239">239</a>         <strong class="jxr_keyword">final</strong> HttpRequest originalRequest = request.getOriginal();
-<a class="jxr_linenumber" name="240" href="#240">240</a>         <strong class="jxr_keyword">if</strong> (originalRequest.getProtocolVersion().compareToVersion(HttpVersion.HTTP_1_1) &gt;= 0) {
-<a class="jxr_linenumber" name="241" href="#241">241</a>             <strong class="jxr_keyword">return</strong>;
-<a class="jxr_linenumber" name="242" href="#242">242</a>         }
-<a class="jxr_linenumber" name="243" href="#243">243</a> 
-<a class="jxr_linenumber" name="244" href="#244">244</a>         removeResponseTransferEncoding(response);
-<a class="jxr_linenumber" name="245" href="#245">245</a>     }
-<a class="jxr_linenumber" name="246" href="#246">246</a> 
-<a class="jxr_linenumber" name="247" href="#247">247</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> removeResponseTransferEncoding(<strong class="jxr_keyword">final</strong> HttpResponse response) {
-<a class="jxr_linenumber" name="248" href="#248">248</a>         response.removeHeaders(<span class="jxr_string">"TE"</span>);
-<a class="jxr_linenumber" name="249" href="#249">249</a>         response.removeHeaders(HTTP.TRANSFER_ENCODING);
-<a class="jxr_linenumber" name="250" href="#250">250</a>     }
-<a class="jxr_linenumber" name="251" href="#251">251</a> 
-<a class="jxr_linenumber" name="252" href="#252">252</a> }
+<a class="jxr_linenumber" name="49" href="#49">49</a>  
+<a class="jxr_linenumber" name="50" href="#50">50</a>  <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="51" href="#51">51</a>  <em class="jxr_javadoccomment"> * @since 4.1</em>
+<a class="jxr_linenumber" name="52" href="#52">52</a>  <em class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="53" href="#53">53</a>  @Immutable
+<a class="jxr_linenumber" name="54" href="#54">54</a>  <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/http/impl/client/cache/ResponseProtocolCompliance.html">ResponseProtocolCompliance</a> {
+<a class="jxr_linenumber" name="55" href="#55">55</a>  
+<a class="jxr_linenumber" name="56" href="#56">56</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String UNEXPECTED_100_CONTINUE = <span class="jxr_string">"The incoming request did not contain a "</span>
+<a class="jxr_linenumber" name="57" href="#57">57</a>                      + <span class="jxr_string">"100-continue header, but the response was a Status 100, continue."</span>;
+<a class="jxr_linenumber" name="58" href="#58">58</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String UNEXPECTED_PARTIAL_CONTENT = <span class="jxr_string">"partial content was returned for a request that did not ask for it"</span>;
+<a class="jxr_linenumber" name="59" href="#59">59</a>  
+<a class="jxr_linenumber" name="60" href="#60">60</a>      <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="61" href="#61">61</a>  <em class="jxr_javadoccomment">     * When we get a response from a down stream server (Origin Server)</em>
+<a class="jxr_linenumber" name="62" href="#62">62</a>  <em class="jxr_javadoccomment">     * we attempt to see if it is HTTP 1.1 Compliant and if not, attempt to</em>
+<a class="jxr_linenumber" name="63" href="#63">63</a>  <em class="jxr_javadoccomment">     * make it so.</em>
+<a class="jxr_linenumber" name="64" href="#64">64</a>  <em class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="65" href="#65">65</a>  <em class="jxr_javadoccomment">     * @param request The {@link HttpRequest} that generated an origin hit and response</em>
+<a class="jxr_linenumber" name="66" href="#66">66</a>  <em class="jxr_javadoccomment">     * @param response The {@link HttpResponse} from the origin server</em>
+<a class="jxr_linenumber" name="67" href="#67">67</a>  <em class="jxr_javadoccomment">     * @throws IOException Bad things happened</em>
+<a class="jxr_linenumber" name="68" href="#68">68</a>  <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="69" href="#69">69</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> ensureProtocolCompliance(<strong class="jxr_keyword">final</strong> HttpRequestWrapper request, <strong class="jxr_keyword">final</strong> HttpResponse response)
+<a class="jxr_linenumber" name="70" href="#70">70</a>              <strong class="jxr_keyword">throws</strong> IOException {
+<a class="jxr_linenumber" name="71" href="#71">71</a>          <strong class="jxr_keyword">if</strong> (backendResponseMustNotHaveBody(request, response)) {
+<a class="jxr_linenumber" name="72" href="#72">72</a>              consumeBody(response);
+<a class="jxr_linenumber" name="73" href="#73">73</a>              response.setEntity(<strong class="jxr_keyword">null</strong>);
+<a class="jxr_linenumber" name="74" href="#74">74</a>          }
+<a class="jxr_linenumber" name="75" href="#75">75</a>  
+<a class="jxr_linenumber" name="76" href="#76">76</a>          requestDidNotExpect100ContinueButResponseIsOne(request, response);
+<a class="jxr_linenumber" name="77" href="#77">77</a>  
+<a class="jxr_linenumber" name="78" href="#78">78</a>          transferEncodingIsNotReturnedTo1_0Client(request, response);
+<a class="jxr_linenumber" name="79" href="#79">79</a>  
+<a class="jxr_linenumber" name="80" href="#80">80</a>          ensurePartialContentIsNotSentToAClientThatDidNotRequestIt(request, response);
+<a class="jxr_linenumber" name="81" href="#81">81</a>  
+<a class="jxr_linenumber" name="82" href="#82">82</a>          ensure200ForOPTIONSRequestWithNoBodyHasContentLengthZero(request, response);
+<a class="jxr_linenumber" name="83" href="#83">83</a>  
+<a class="jxr_linenumber" name="84" href="#84">84</a>          ensure206ContainsDateHeader(response);
+<a class="jxr_linenumber" name="85" href="#85">85</a>  
+<a class="jxr_linenumber" name="86" href="#86">86</a>          ensure304DoesNotContainExtraEntityHeaders(response);
+<a class="jxr_linenumber" name="87" href="#87">87</a>  
+<a class="jxr_linenumber" name="88" href="#88">88</a>          identityIsNotUsedInContentEncoding(response);
+<a class="jxr_linenumber" name="89" href="#89">89</a>  
+<a class="jxr_linenumber" name="90" href="#90">90</a>          warningsWithNonMatchingWarnDatesAreRemoved(response);
+<a class="jxr_linenumber" name="91" href="#91">91</a>      }
+<a class="jxr_linenumber" name="92" href="#92">92</a>  
+<a class="jxr_linenumber" name="93" href="#93">93</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> consumeBody(<strong class="jxr_keyword">final</strong> HttpResponse response) <strong class="jxr_keyword">throws</strong> IOException {
+<a class="jxr_linenumber" name="94" href="#94">94</a>          <strong class="jxr_keyword">final</strong> HttpEntity body = response.getEntity();
+<a class="jxr_linenumber" name="95" href="#95">95</a>          <strong class="jxr_keyword">if</strong> (body != <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="96" href="#96">96</a>              IOUtils.consume(body);
+<a class="jxr_linenumber" name="97" href="#97">97</a>          }
+<a class="jxr_linenumber" name="98" href="#98">98</a>      }
+<a class="jxr_linenumber" name="99" href="#99">99</a>  
+<a class="jxr_linenumber" name="100" href="#100">100</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> warningsWithNonMatchingWarnDatesAreRemoved(
+<a class="jxr_linenumber" name="101" href="#101">101</a>             <strong class="jxr_keyword">final</strong> HttpResponse response) {
+<a class="jxr_linenumber" name="102" href="#102">102</a>         <strong class="jxr_keyword">final</strong> Date responseDate = DateUtils.parseDate(response.getFirstHeader(HTTP.DATE_HEADER).getValue());
+<a class="jxr_linenumber" name="103" href="#103">103</a>         <strong class="jxr_keyword">if</strong> (responseDate == <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="104" href="#104">104</a>             <strong class="jxr_keyword">return</strong>;
+<a class="jxr_linenumber" name="105" href="#105">105</a>         }
+<a class="jxr_linenumber" name="106" href="#106">106</a> 
+<a class="jxr_linenumber" name="107" href="#107">107</a>         <strong class="jxr_keyword">final</strong> Header[] warningHeaders = response.getHeaders(HeaderConstants.WARNING);
+<a class="jxr_linenumber" name="108" href="#108">108</a> 
+<a class="jxr_linenumber" name="109" href="#109">109</a>         <strong class="jxr_keyword">if</strong> (warningHeaders == <strong class="jxr_keyword">null</strong> || warningHeaders.length == 0) {
+<a class="jxr_linenumber" name="110" href="#110">110</a>             <strong class="jxr_keyword">return</strong>;
+<a class="jxr_linenumber" name="111" href="#111">111</a>         }
+<a class="jxr_linenumber" name="112" href="#112">112</a> 
+<a class="jxr_linenumber" name="113" href="#113">113</a>         <strong class="jxr_keyword">final</strong> List&lt;Header&gt; newWarningHeaders = <strong class="jxr_keyword">new</strong> ArrayList&lt;Header&gt;();
+<a class="jxr_linenumber" name="114" href="#114">114</a>         <strong class="jxr_keyword">boolean</strong> modified = false;
+<a class="jxr_linenumber" name="115" href="#115">115</a>         <strong class="jxr_keyword">for</strong>(<strong class="jxr_keyword">final</strong> Header h : warningHeaders) {
+<a class="jxr_linenumber" name="116" href="#116">116</a>             <strong class="jxr_keyword">for</strong>(<strong class="jxr_keyword">final</strong> <a href="../../../../../../org/apache/http/impl/client/cache/WarningValue.html">WarningValue</a> wv : WarningValue.getWarningValues(h)) {
+<a class="jxr_linenumber" name="117" href="#117">117</a>                 <strong class="jxr_keyword">final</strong> Date warnDate = wv.getWarnDate();
+<a class="jxr_linenumber" name="118" href="#118">118</a>                 <strong class="jxr_keyword">if</strong> (warnDate == <strong class="jxr_keyword">null</strong> || warnDate.equals(responseDate)) {
+<a class="jxr_linenumber" name="119" href="#119">119</a>                     newWarningHeaders.add(<strong class="jxr_keyword">new</strong> BasicHeader(HeaderConstants.WARNING,wv.toString()));
+<a class="jxr_linenumber" name="120" href="#120">120</a>                 } <strong class="jxr_keyword">else</strong> {
+<a class="jxr_linenumber" name="121" href="#121">121</a>                     modified = <strong class="jxr_keyword">true</strong>;
+<a class="jxr_linenumber" name="122" href="#122">122</a>                 }
+<a class="jxr_linenumber" name="123" href="#123">123</a>             }
+<a class="jxr_linenumber" name="124" href="#124">124</a>         }
+<a class="jxr_linenumber" name="125" href="#125">125</a>         <strong class="jxr_keyword">if</strong> (modified) {
+<a class="jxr_linenumber" name="126" href="#126">126</a>             response.removeHeaders(HeaderConstants.WARNING);
+<a class="jxr_linenumber" name="127" href="#127">127</a>             <strong class="jxr_keyword">for</strong>(<strong class="jxr_keyword">final</strong> Header h : newWarningHeaders) {
+<a class="jxr_linenumber" name="128" href="#128">128</a>                 response.addHeader(h);
+<a class="jxr_linenumber" name="129" href="#129">129</a>             }
+<a class="jxr_linenumber" name="130" href="#130">130</a>         }
+<a class="jxr_linenumber" name="131" href="#131">131</a>     }
+<a class="jxr_linenumber" name="132" href="#132">132</a> 
+<a class="jxr_linenumber" name="133" href="#133">133</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> identityIsNotUsedInContentEncoding(<strong class="jxr_keyword">final</strong> HttpResponse response) {
+<a class="jxr_linenumber" name="134" href="#134">134</a>         <strong class="jxr_keyword">final</strong> Header[] hdrs = response.getHeaders(HTTP.CONTENT_ENCODING);
+<a class="jxr_linenumber" name="135" href="#135">135</a>         <strong class="jxr_keyword">if</strong> (hdrs == <strong class="jxr_keyword">null</strong> || hdrs.length == 0) {
+<a class="jxr_linenumber" name="136" href="#136">136</a>             <strong class="jxr_keyword">return</strong>;
+<a class="jxr_linenumber" name="137" href="#137">137</a>         }
+<a class="jxr_linenumber" name="138" href="#138">138</a>         <strong class="jxr_keyword">final</strong> List&lt;Header&gt; newHeaders = <strong class="jxr_keyword">new</strong> ArrayList&lt;Header&gt;();
+<a class="jxr_linenumber" name="139" href="#139">139</a>         <strong class="jxr_keyword">boolean</strong> modified = false;
+<a class="jxr_linenumber" name="140" href="#140">140</a>         <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">final</strong> Header h : hdrs) {
+<a class="jxr_linenumber" name="141" href="#141">141</a>             <strong class="jxr_keyword">final</strong> StringBuilder buf = <strong class="jxr_keyword">new</strong> StringBuilder();
+<a class="jxr_linenumber" name="142" href="#142">142</a>             <strong class="jxr_keyword">boolean</strong> first = <strong class="jxr_keyword">true</strong>;
+<a class="jxr_linenumber" name="143" href="#143">143</a>             <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">final</strong> HeaderElement elt : h.getElements()) {
+<a class="jxr_linenumber" name="144" href="#144">144</a>                 <strong class="jxr_keyword">if</strong> (<span class="jxr_string">"identity"</span>.equalsIgnoreCase(elt.getName())) {
+<a class="jxr_linenumber" name="145" href="#145">145</a>                     modified = <strong class="jxr_keyword">true</strong>;
+<a class="jxr_linenumber" name="146" href="#146">146</a>                 } <strong class="jxr_keyword">else</strong> {
+<a class="jxr_linenumber" name="147" href="#147">147</a>                     <strong class="jxr_keyword">if</strong> (!first) {
+<a class="jxr_linenumber" name="148" href="#148">148</a>                         buf.append(<span class="jxr_string">","</span>);
+<a class="jxr_linenumber" name="149" href="#149">149</a>                     }
+<a class="jxr_linenumber" name="150" href="#150">150</a>                     buf.append(elt.toString());
+<a class="jxr_linenumber" name="151" href="#151">151</a>                     first = false;
+<a class="jxr_linenumber" name="152" href="#152">152</a>                 }
+<a class="jxr_linenumber" name="153" href="#153">153</a>             }
+<a class="jxr_linenumber" name="154" href="#154">154</a>             <strong class="jxr_keyword">final</strong> String newHeaderValue = buf.toString();
+<a class="jxr_linenumber" name="155" href="#155">155</a>             <strong class="jxr_keyword">if</strong> (!<span class="jxr_string">""</span>.equals(newHeaderValue)) {
+<a class="jxr_linenumber" name="156" href="#156">156</a>                 newHeaders.add(<strong class="jxr_keyword">new</strong> BasicHeader(HTTP.CONTENT_ENCODING, newHeaderValue));
+<a class="jxr_linenumber" name="157" href="#157">157</a>             }
+<a class="jxr_linenumber" name="158" href="#158">158</a>         }
+<a class="jxr_linenumber" name="159" href="#159">159</a>         <strong class="jxr_keyword">if</strong> (!modified) {
+<a class="jxr_linenumber" name="160" href="#160">160</a>             <strong class="jxr_keyword">return</strong>;
+<a class="jxr_linenumber" name="161" href="#161">161</a>         }
+<a class="jxr_linenumber" name="162" href="#162">162</a>         response.removeHeaders(HTTP.CONTENT_ENCODING);
+<a class="jxr_linenumber" name="163" href="#163">163</a>         <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">final</strong> Header h : newHeaders) {
+<a class="jxr_linenumber" name="164" href="#164">164</a>             response.addHeader(h);
+<a class="jxr_linenumber" name="165" href="#165">165</a>         }
+<a class="jxr_linenumber" name="166" href="#166">166</a>     }
+<a class="jxr_linenumber" name="167" href="#167">167</a> 
+<a class="jxr_linenumber" name="168" href="#168">168</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> ensure206ContainsDateHeader(<strong class="jxr_keyword">final</strong> HttpResponse response) {
+<a class="jxr_linenumber" name="169" href="#169">169</a>         <strong class="jxr_keyword">if</strong> (response.getFirstHeader(HTTP.DATE_HEADER) == <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="170" href="#170">170</a>             response.addHeader(HTTP.DATE_HEADER, DateUtils.formatDate(<strong class="jxr_keyword">new</strong> Date()));
+<a class="jxr_linenumber" name="171" href="#171">171</a>         }
+<a class="jxr_linenumber" name="172" href="#172">172</a> 
+<a class="jxr_linenumber" name="173" href="#173">173</a>     }
+<a class="jxr_linenumber" name="174" href="#174">174</a> 
+<a class="jxr_linenumber" name="175" href="#175">175</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> ensurePartialContentIsNotSentToAClientThatDidNotRequestIt(<strong class="jxr_keyword">final</strong> HttpRequest request,
+<a class="jxr_linenumber" name="176" href="#176">176</a>             <strong class="jxr_keyword">final</strong> HttpResponse response) <strong class="jxr_keyword">throws</strong> IOException {
+<a class="jxr_linenumber" name="177" href="#177">177</a>         <strong class="jxr_keyword">if</strong> (request.getFirstHeader(HeaderConstants.RANGE) != <strong class="jxr_keyword">null</strong>
+<a class="jxr_linenumber" name="178" href="#178">178</a>                 || response.getStatusLine().getStatusCode() != HttpStatus.SC_PARTIAL_CONTENT) {
+<a class="jxr_linenumber" name="179" href="#179">179</a>             <strong class="jxr_keyword">return</strong>;
+<a class="jxr_linenumber" name="180" href="#180">180</a>         }
+<a class="jxr_linenumber" name="181" href="#181">181</a> 
+<a class="jxr_linenumber" name="182" href="#182">182</a>         consumeBody(response);
+<a class="jxr_linenumber" name="183" href="#183">183</a>         <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> ClientProtocolException(UNEXPECTED_PARTIAL_CONTENT);
+<a class="jxr_linenumber" name="184" href="#184">184</a>     }
+<a class="jxr_linenumber" name="185" href="#185">185</a> 
+<a class="jxr_linenumber" name="186" href="#186">186</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> ensure200ForOPTIONSRequestWithNoBodyHasContentLengthZero(<strong class="jxr_keyword">final</strong> HttpRequest request,
+<a class="jxr_linenumber" name="187" href="#187">187</a>             <strong class="jxr_keyword">final</strong> HttpResponse response) {
+<a class="jxr_linenumber" name="188" href="#188">188</a>         <strong class="jxr_keyword">if</strong> (!request.getRequestLine().getMethod().equalsIgnoreCase(HeaderConstants.OPTIONS_METHOD)) {
+<a class="jxr_linenumber" name="189" href="#189">189</a>             <strong class="jxr_keyword">return</strong>;
+<a class="jxr_linenumber" name="190" href="#190">190</a>         }
+<a class="jxr_linenumber" name="191" href="#191">191</a> 
+<a class="jxr_linenumber" name="192" href="#192">192</a>         <strong class="jxr_keyword">if</strong> (response.getStatusLine().getStatusCode() != HttpStatus.SC_OK) {
+<a class="jxr_linenumber" name="193" href="#193">193</a>             <strong class="jxr_keyword">return</strong>;
+<a class="jxr_linenumber" name="194" href="#194">194</a>         }
+<a class="jxr_linenumber" name="195" href="#195">195</a> 
+<a class="jxr_linenumber" name="196" href="#196">196</a>         <strong class="jxr_keyword">if</strong> (response.getFirstHeader(HTTP.CONTENT_LEN) == <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="197" href="#197">197</a>             response.addHeader(HTTP.CONTENT_LEN, <span class="jxr_string">"0"</span>);
+<a class="jxr_linenumber" name="198" href="#198">198</a>         }
+<a class="jxr_linenumber" name="199" href="#199">199</a>     }
+<a class="jxr_linenumber" name="200" href="#200">200</a> 
+<a class="jxr_linenumber" name="201" href="#201">201</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> ensure304DoesNotContainExtraEntityHeaders(<strong class="jxr_keyword">final</strong> HttpResponse response) {
+<a class="jxr_linenumber" name="202" href="#202">202</a>         <strong class="jxr_keyword">final</strong> String[] disallowedEntityHeaders = { HeaderConstants.ALLOW, HTTP.CONTENT_ENCODING,
+<a class="jxr_linenumber" name="203" href="#203">203</a>                 <span class="jxr_string">"Content-Language"</span>, HTTP.CONTENT_LEN, <span class="jxr_string">"Content-MD5"</span>,
+<a class="jxr_linenumber" name="204" href="#204">204</a>                 <span class="jxr_string">"Content-Range"</span>, HTTP.CONTENT_TYPE, HeaderConstants.LAST_MODIFIED
+<a class="jxr_linenumber" name="205" href="#205">205</a>         };
+<a class="jxr_linenumber" name="206" href="#206">206</a>         <strong class="jxr_keyword">if</strong> (response.getStatusLine().getStatusCode() == HttpStatus.SC_NOT_MODIFIED) {
+<a class="jxr_linenumber" name="207" href="#207">207</a>             <strong class="jxr_keyword">for</strong>(<strong class="jxr_keyword">final</strong> String hdr : disallowedEntityHeaders) {
+<a class="jxr_linenumber" name="208" href="#208">208</a>                 response.removeHeaders(hdr);
+<a class="jxr_linenumber" name="209" href="#209">209</a>             }
+<a class="jxr_linenumber" name="210" href="#210">210</a>         }
+<a class="jxr_linenumber" name="211" href="#211">211</a>     }
+<a class="jxr_linenumber" name="212" href="#212">212</a> 
+<a class="jxr_linenumber" name="213" href="#213">213</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> backendResponseMustNotHaveBody(<strong class="jxr_keyword">final</strong> HttpRequest request, <strong class="jxr_keyword">final</strong> HttpResponse backendResponse) {
+<a class="jxr_linenumber" name="214" href="#214">214</a>         <strong class="jxr_keyword">return</strong> HeaderConstants.HEAD_METHOD.equals(request.getRequestLine().getMethod())
+<a class="jxr_linenumber" name="215" href="#215">215</a>                 || backendResponse.getStatusLine().getStatusCode() == HttpStatus.SC_NO_CONTENT
+<a class="jxr_linenumber" name="216" href="#216">216</a>                 || backendResponse.getStatusLine().getStatusCode() == HttpStatus.SC_RESET_CONTENT
+<a class="jxr_linenumber" name="217" href="#217">217</a>                 || backendResponse.getStatusLine().getStatusCode() == HttpStatus.SC_NOT_MODIFIED;
+<a class="jxr_linenumber" name="218" href="#218">218</a>     }
+<a class="jxr_linenumber" name="219" href="#219">219</a> 
+<a class="jxr_linenumber" name="220" href="#220">220</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> requestDidNotExpect100ContinueButResponseIsOne(<strong class="jxr_keyword">final</strong> HttpRequestWrapper request,
+<a class="jxr_linenumber" name="221" href="#221">221</a>             <strong class="jxr_keyword">final</strong> HttpResponse response) <strong class="jxr_keyword">throws</strong> IOException {
+<a class="jxr_linenumber" name="222" href="#222">222</a>         <strong class="jxr_keyword">if</strong> (response.getStatusLine().getStatusCode() != HttpStatus.SC_CONTINUE) {
+<a class="jxr_linenumber" name="223" href="#223">223</a>             <strong class="jxr_keyword">return</strong>;
+<a class="jxr_linenumber" name="224" href="#224">224</a>         }
+<a class="jxr_linenumber" name="225" href="#225">225</a> 
+<a class="jxr_linenumber" name="226" href="#226">226</a>         <strong class="jxr_keyword">final</strong> HttpRequest originalRequest = request.getOriginal();
+<a class="jxr_linenumber" name="227" href="#227">227</a>         <strong class="jxr_keyword">if</strong> (originalRequest instanceof HttpEntityEnclosingRequest) {
+<a class="jxr_linenumber" name="228" href="#228">228</a>             <strong class="jxr_keyword">if</strong> (((HttpEntityEnclosingRequest)originalRequest).expectContinue()) {
+<a class="jxr_linenumber" name="229" href="#229">229</a>                 <strong class="jxr_keyword">return</strong>;
+<a class="jxr_linenumber" name="230" href="#230">230</a>             }
+<a class="jxr_linenumber" name="231" href="#231">231</a>         }
+<a class="jxr_linenumber" name="232" href="#232">232</a>         consumeBody(response);
+<a class="jxr_linenumber" name="233" href="#233">233</a>         <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> ClientProtocolException(UNEXPECTED_100_CONTINUE);
+<a class="jxr_linenumber" name="234" href="#234">234</a>     }
+<a class="jxr_linenumber" name="235" href="#235">235</a> 
+<a class="jxr_linenumber" name="236" href="#236">236</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> transferEncodingIsNotReturnedTo1_0Client(<strong class="jxr_keyword">final</strong> HttpRequestWrapper request,
+<a class="jxr_linenumber" name="237" href="#237">237</a>             <strong class="jxr_keyword">final</strong> HttpResponse response) {
+<a class="jxr_linenumber" name="238" href="#238">238</a>         <strong class="jxr_keyword">final</strong> HttpRequest originalRequest = request.getOriginal();
+<a class="jxr_linenumber" name="239" href="#239">239</a>         <strong class="jxr_keyword">if</strong> (originalRequest.getProtocolVersion().compareToVersion(HttpVersion.HTTP_1_1) &gt;= 0) {
+<a class="jxr_linenumber" name="240" href="#240">240</a>             <strong class="jxr_keyword">return</strong>;
+<a class="jxr_linenumber" name="241" href="#241">241</a>         }
+<a class="jxr_linenumber" name="242" href="#242">242</a> 
+<a class="jxr_linenumber" name="243" href="#243">243</a>         removeResponseTransferEncoding(response);
+<a class="jxr_linenumber" name="244" href="#244">244</a>     }
+<a class="jxr_linenumber" name="245" href="#245">245</a> 
+<a class="jxr_linenumber" name="246" href="#246">246</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> removeResponseTransferEncoding(<strong class="jxr_keyword">final</strong> HttpResponse response) {
+<a class="jxr_linenumber" name="247" href="#247">247</a>         response.removeHeaders(<span class="jxr_string">"TE"</span>);
+<a class="jxr_linenumber" name="248" href="#248">248</a>         response.removeHeaders(HTTP.TRANSFER_ENCODING);
+<a class="jxr_linenumber" name="249" href="#249">249</a>     }
+<a class="jxr_linenumber" name="250" href="#250">250</a> 
+<a class="jxr_linenumber" name="251" href="#251">251</a> }
 </pre>
 <hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
 </html>

Modified: httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/org/apache/http/impl/client/cache/ResponseProxyHandler.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/org/apache/http/impl/client/cache/ResponseProxyHandler.html?rev=1572159&r1=1572158&r2=1572159&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/org/apache/http/impl/client/cache/ResponseProxyHandler.html (original)
+++ httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/org/apache/http/impl/client/cache/ResponseProxyHandler.html Wed Feb 26 16:47:55 2014
@@ -45,58 +45,57 @@
 <a class="jxr_linenumber" name="35" href="#35">35</a>  
 <a class="jxr_linenumber" name="36" href="#36">36</a>  <strong class="jxr_keyword">import</strong> org.apache.http.HttpResponse;
 <a class="jxr_linenumber" name="37" href="#37">37</a>  <strong class="jxr_keyword">import</strong> org.apache.http.annotation.NotThreadSafe;
-<a class="jxr_linenumber" name="38" href="#38">38</a>  <strong class="jxr_keyword">import</strong> org.apache.http.util.EntityUtils;
-<a class="jxr_linenumber" name="39" href="#39">39</a>  
-<a class="jxr_linenumber" name="40" href="#40">40</a>  <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="41" href="#41">41</a>  <em class="jxr_javadoccomment"> * A proxy class that can enhance an arbitrary {@link HttpResponse} with</em>
-<a class="jxr_linenumber" name="42" href="#42">42</a>  <em class="jxr_javadoccomment"> * {@link Closeable#close()} method.</em>
-<a class="jxr_linenumber" name="43" href="#43">43</a>  <em class="jxr_javadoccomment"> *</em>
-<a class="jxr_linenumber" name="44" href="#44">44</a>  <em class="jxr_javadoccomment"> * @since 4.3</em>
-<a class="jxr_linenumber" name="45" href="#45">45</a>  <em class="jxr_javadoccomment"> */</em>
-<a class="jxr_linenumber" name="46" href="#46">46</a>  @NotThreadSafe
-<a class="jxr_linenumber" name="47" href="#47">47</a>  <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/http/impl/client/cache/ResponseProxyHandler.html">ResponseProxyHandler</a> <strong class="jxr_keyword">implements</strong> InvocationHandler {
-<a class="jxr_linenumber" name="48" href="#48">48</a>  
-<a class="jxr_linenumber" name="49" href="#49">49</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> Method CLOSE_METHOD;
-<a class="jxr_linenumber" name="50" href="#50">50</a>  
-<a class="jxr_linenumber" name="51" href="#51">51</a>      <strong class="jxr_keyword">static</strong> {
-<a class="jxr_linenumber" name="52" href="#52">52</a>          <strong class="jxr_keyword">try</strong> {
-<a class="jxr_linenumber" name="53" href="#53">53</a>              CLOSE_METHOD = Closeable.<strong class="jxr_keyword">class</strong>.getMethod(<span class="jxr_string">"close"</span>);
-<a class="jxr_linenumber" name="54" href="#54">54</a>          } <strong class="jxr_keyword">catch</strong> (<strong class="jxr_keyword">final</strong> NoSuchMethodException ex) {
-<a class="jxr_linenumber" name="55" href="#55">55</a>              <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> Error(ex);
-<a class="jxr_linenumber" name="56" href="#56">56</a>          }
-<a class="jxr_linenumber" name="57" href="#57">57</a>      }
-<a class="jxr_linenumber" name="58" href="#58">58</a>  
-<a class="jxr_linenumber" name="59" href="#59">59</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> HttpResponse original;
-<a class="jxr_linenumber" name="60" href="#60">60</a>  
-<a class="jxr_linenumber" name="61" href="#61">61</a>      <a href="../../../../../../org/apache/http/impl/client/cache/ResponseProxyHandler.html">ResponseProxyHandler</a>(<strong class="jxr_keyword">final</strong> HttpResponse original) {
-<a class="jxr_linenumber" name="62" href="#62">62</a>          <strong class="jxr_keyword">super</strong>();
-<a class="jxr_linenumber" name="63" href="#63">63</a>          <strong class="jxr_keyword">this</strong>.original = original;
-<a class="jxr_linenumber" name="64" href="#64">64</a>      }
-<a class="jxr_linenumber" name="65" href="#65">65</a>  
-<a class="jxr_linenumber" name="66" href="#66">66</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> close() <strong class="jxr_keyword">throws</strong> IOException {
-<a class="jxr_linenumber" name="67" href="#67">67</a>          EntityUtils.consume(original.getEntity());
-<a class="jxr_linenumber" name="68" href="#68">68</a>      }
-<a class="jxr_linenumber" name="69" href="#69">69</a>  
-<a class="jxr_linenumber" name="70" href="#70">70</a>      <strong class="jxr_keyword">public</strong> Object invoke(
-<a class="jxr_linenumber" name="71" href="#71">71</a>              <strong class="jxr_keyword">final</strong> Object proxy, <strong class="jxr_keyword">final</strong> Method method, <strong class="jxr_keyword">final</strong> Object[] args) <strong class="jxr_keyword">throws</strong> Throwable {
-<a class="jxr_linenumber" name="72" href="#72">72</a>          <strong class="jxr_keyword">if</strong> (method.equals(CLOSE_METHOD)) {
-<a class="jxr_linenumber" name="73" href="#73">73</a>              close();
-<a class="jxr_linenumber" name="74" href="#74">74</a>              <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">null</strong>;
-<a class="jxr_linenumber" name="75" href="#75">75</a>          } <strong class="jxr_keyword">else</strong> {
-<a class="jxr_linenumber" name="76" href="#76">76</a>              <strong class="jxr_keyword">try</strong> {
-<a class="jxr_linenumber" name="77" href="#77">77</a>                  <strong class="jxr_keyword">return</strong> method.invoke(<strong class="jxr_keyword">this</strong>.original, args);
-<a class="jxr_linenumber" name="78" href="#78">78</a>              } <strong class="jxr_keyword">catch</strong> (<strong class="jxr_keyword">final</strong> InvocationTargetException ex) {
-<a class="jxr_linenumber" name="79" href="#79">79</a>                  <strong class="jxr_keyword">final</strong> Throwable cause = ex.getCause();
-<a class="jxr_linenumber" name="80" href="#80">80</a>                  <strong class="jxr_keyword">if</strong> (cause != <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="81" href="#81">81</a>                      <strong class="jxr_keyword">throw</strong> cause;
-<a class="jxr_linenumber" name="82" href="#82">82</a>                  } <strong class="jxr_keyword">else</strong> {
-<a class="jxr_linenumber" name="83" href="#83">83</a>                      <strong class="jxr_keyword">throw</strong> ex;
-<a class="jxr_linenumber" name="84" href="#84">84</a>                  }
-<a class="jxr_linenumber" name="85" href="#85">85</a>              }
-<a class="jxr_linenumber" name="86" href="#86">86</a>          }
-<a class="jxr_linenumber" name="87" href="#87">87</a>      }
-<a class="jxr_linenumber" name="88" href="#88">88</a>  
-<a class="jxr_linenumber" name="89" href="#89">89</a>  }
+<a class="jxr_linenumber" name="38" href="#38">38</a>  
+<a class="jxr_linenumber" name="39" href="#39">39</a>  <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="40" href="#40">40</a>  <em class="jxr_javadoccomment"> * A proxy class that can enhance an arbitrary {@link HttpResponse} with</em>
+<a class="jxr_linenumber" name="41" href="#41">41</a>  <em class="jxr_javadoccomment"> * {@link Closeable#close()} method.</em>
+<a class="jxr_linenumber" name="42" href="#42">42</a>  <em class="jxr_javadoccomment"> *</em>
+<a class="jxr_linenumber" name="43" href="#43">43</a>  <em class="jxr_javadoccomment"> * @since 4.3</em>
+<a class="jxr_linenumber" name="44" href="#44">44</a>  <em class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="45" href="#45">45</a>  @NotThreadSafe
+<a class="jxr_linenumber" name="46" href="#46">46</a>  <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/http/impl/client/cache/ResponseProxyHandler.html">ResponseProxyHandler</a> <strong class="jxr_keyword">implements</strong> InvocationHandler {
+<a class="jxr_linenumber" name="47" href="#47">47</a>  
+<a class="jxr_linenumber" name="48" href="#48">48</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> Method CLOSE_METHOD;
+<a class="jxr_linenumber" name="49" href="#49">49</a>  
+<a class="jxr_linenumber" name="50" href="#50">50</a>      <strong class="jxr_keyword">static</strong> {
+<a class="jxr_linenumber" name="51" href="#51">51</a>          <strong class="jxr_keyword">try</strong> {
+<a class="jxr_linenumber" name="52" href="#52">52</a>              CLOSE_METHOD = Closeable.<strong class="jxr_keyword">class</strong>.getMethod(<span class="jxr_string">"close"</span>);
+<a class="jxr_linenumber" name="53" href="#53">53</a>          } <strong class="jxr_keyword">catch</strong> (<strong class="jxr_keyword">final</strong> NoSuchMethodException ex) {
+<a class="jxr_linenumber" name="54" href="#54">54</a>              <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> Error(ex);
+<a class="jxr_linenumber" name="55" href="#55">55</a>          }
+<a class="jxr_linenumber" name="56" href="#56">56</a>      }
+<a class="jxr_linenumber" name="57" href="#57">57</a>  
+<a class="jxr_linenumber" name="58" href="#58">58</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> HttpResponse original;
+<a class="jxr_linenumber" name="59" href="#59">59</a>  
+<a class="jxr_linenumber" name="60" href="#60">60</a>      <a href="../../../../../../org/apache/http/impl/client/cache/ResponseProxyHandler.html">ResponseProxyHandler</a>(<strong class="jxr_keyword">final</strong> HttpResponse original) {
+<a class="jxr_linenumber" name="61" href="#61">61</a>          <strong class="jxr_keyword">super</strong>();
+<a class="jxr_linenumber" name="62" href="#62">62</a>          <strong class="jxr_keyword">this</strong>.original = original;
+<a class="jxr_linenumber" name="63" href="#63">63</a>      }
+<a class="jxr_linenumber" name="64" href="#64">64</a>  
+<a class="jxr_linenumber" name="65" href="#65">65</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> close() <strong class="jxr_keyword">throws</strong> IOException {
+<a class="jxr_linenumber" name="66" href="#66">66</a>          IOUtils.consume(original.getEntity());
+<a class="jxr_linenumber" name="67" href="#67">67</a>      }
+<a class="jxr_linenumber" name="68" href="#68">68</a>  
+<a class="jxr_linenumber" name="69" href="#69">69</a>      <strong class="jxr_keyword">public</strong> Object invoke(
+<a class="jxr_linenumber" name="70" href="#70">70</a>              <strong class="jxr_keyword">final</strong> Object proxy, <strong class="jxr_keyword">final</strong> Method method, <strong class="jxr_keyword">final</strong> Object[] args) <strong class="jxr_keyword">throws</strong> Throwable {
+<a class="jxr_linenumber" name="71" href="#71">71</a>          <strong class="jxr_keyword">if</strong> (method.equals(CLOSE_METHOD)) {
+<a class="jxr_linenumber" name="72" href="#72">72</a>              close();
+<a class="jxr_linenumber" name="73" href="#73">73</a>              <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">null</strong>;
+<a class="jxr_linenumber" name="74" href="#74">74</a>          } <strong class="jxr_keyword">else</strong> {
+<a class="jxr_linenumber" name="75" href="#75">75</a>              <strong class="jxr_keyword">try</strong> {
+<a class="jxr_linenumber" name="76" href="#76">76</a>                  <strong class="jxr_keyword">return</strong> method.invoke(<strong class="jxr_keyword">this</strong>.original, args);
+<a class="jxr_linenumber" name="77" href="#77">77</a>              } <strong class="jxr_keyword">catch</strong> (<strong class="jxr_keyword">final</strong> InvocationTargetException ex) {
+<a class="jxr_linenumber" name="78" href="#78">78</a>                  <strong class="jxr_keyword">final</strong> Throwable cause = ex.getCause();
+<a class="jxr_linenumber" name="79" href="#79">79</a>                  <strong class="jxr_keyword">if</strong> (cause != <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="80" href="#80">80</a>                      <strong class="jxr_keyword">throw</strong> cause;
+<a class="jxr_linenumber" name="81" href="#81">81</a>                  } <strong class="jxr_keyword">else</strong> {
+<a class="jxr_linenumber" name="82" href="#82">82</a>                      <strong class="jxr_keyword">throw</strong> ex;
+<a class="jxr_linenumber" name="83" href="#83">83</a>                  }
+<a class="jxr_linenumber" name="84" href="#84">84</a>              }
+<a class="jxr_linenumber" name="85" href="#85">85</a>          }
+<a class="jxr_linenumber" name="86" href="#86">86</a>      }
+<a class="jxr_linenumber" name="87" href="#87">87</a>  
+<a class="jxr_linenumber" name="88" href="#88">88</a>  }
 </pre>
 <hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
 </html>

Modified: httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/org/apache/http/impl/client/cache/ehcache/package-frame.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/org/apache/http/impl/client/cache/ehcache/package-frame.html?rev=1572159&r1=1572158&r2=1572159&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/org/apache/http/impl/client/cache/ehcache/package-frame.html (original)
+++ httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/org/apache/http/impl/client/cache/ehcache/package-frame.html Wed Feb 26 16:47:55 2014
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache HttpClient Cache 4.3.2 Reference Package org.apache.http.impl.client.cache.ehcache</title>
+		<title>Apache HttpClient Cache 4.3.3 Reference Package org.apache.http.impl.client.cache.ehcache</title>
 		<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="style" />
 	</head>
 	<body>

Modified: httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/org/apache/http/impl/client/cache/ehcache/package-summary.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/org/apache/http/impl/client/cache/ehcache/package-summary.html?rev=1572159&r1=1572158&r2=1572159&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/org/apache/http/impl/client/cache/ehcache/package-summary.html (original)
+++ httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/org/apache/http/impl/client/cache/ehcache/package-summary.html Wed Feb 26 16:47:55 2014
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache HttpClient Cache 4.3.2 Reference Package org.apache.http.impl.client.cache.ehcache</title>
+		<title>Apache HttpClient Cache 4.3.3 Reference Package org.apache.http.impl.client.cache.ehcache</title>
 		<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="style" />
 	</head>
 	<body>

Modified: httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/org/apache/http/impl/client/cache/memcached/package-frame.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/org/apache/http/impl/client/cache/memcached/package-frame.html?rev=1572159&r1=1572158&r2=1572159&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/org/apache/http/impl/client/cache/memcached/package-frame.html (original)
+++ httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/org/apache/http/impl/client/cache/memcached/package-frame.html Wed Feb 26 16:47:55 2014
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache HttpClient Cache 4.3.2 Reference Package org.apache.http.impl.client.cache.memcached</title>
+		<title>Apache HttpClient Cache 4.3.3 Reference Package org.apache.http.impl.client.cache.memcached</title>
 		<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="style" />
 	</head>
 	<body>

Modified: httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/org/apache/http/impl/client/cache/memcached/package-summary.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/org/apache/http/impl/client/cache/memcached/package-summary.html?rev=1572159&r1=1572158&r2=1572159&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/org/apache/http/impl/client/cache/memcached/package-summary.html (original)
+++ httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/org/apache/http/impl/client/cache/memcached/package-summary.html Wed Feb 26 16:47:55 2014
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache HttpClient Cache 4.3.2 Reference Package org.apache.http.impl.client.cache.memcached</title>
+		<title>Apache HttpClient Cache 4.3.3 Reference Package org.apache.http.impl.client.cache.memcached</title>
 		<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="style" />
 	</head>
 	<body>

Modified: httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/org/apache/http/impl/client/cache/package-frame.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/org/apache/http/impl/client/cache/package-frame.html?rev=1572159&r1=1572158&r2=1572159&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/org/apache/http/impl/client/cache/package-frame.html (original)
+++ httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/org/apache/http/impl/client/cache/package-frame.html Wed Feb 26 16:47:55 2014
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache HttpClient Cache 4.3.2 Reference Package org.apache.http.impl.client.cache</title>
+		<title>Apache HttpClient Cache 4.3.3 Reference Package org.apache.http.impl.client.cache</title>
 		<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
 	</head>
 	<body>

Modified: httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/org/apache/http/impl/client/cache/package-summary.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/org/apache/http/impl/client/cache/package-summary.html?rev=1572159&r1=1572158&r2=1572159&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/org/apache/http/impl/client/cache/package-summary.html (original)
+++ httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/org/apache/http/impl/client/cache/package-summary.html Wed Feb 26 16:47:55 2014
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache HttpClient Cache 4.3.2 Reference Package org.apache.http.impl.client.cache</title>
+		<title>Apache HttpClient Cache 4.3.3 Reference Package org.apache.http.impl.client.cache</title>
 		<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
 	</head>
 	<body>

Modified: httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/overview-frame.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/overview-frame.html?rev=1572159&r1=1572158&r2=1572159&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/overview-frame.html (original)
+++ httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/overview-frame.html Wed Feb 26 16:47:55 2014
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache HttpClient Cache 4.3.2 Reference</title>
+		<title>Apache HttpClient Cache 4.3.3 Reference</title>
 		<link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
 	</head>
 	<body>

Modified: httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/overview-summary.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/overview-summary.html?rev=1572159&r1=1572158&r2=1572159&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/overview-summary.html (original)
+++ httpcomponents/site/httpcomponents-client-4.3.x/httpclient-cache/xref/overview-summary.html Wed Feb 26 16:47:55 2014
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache HttpClient Cache 4.3.2 Reference</title>
+		<title>Apache HttpClient Cache 4.3.3 Reference</title>
 		<link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
 	</head>
 	<body>
@@ -24,7 +24,7 @@
 	        </ul>
       	</div>
 		
-		      	<h2>Apache HttpClient Cache 4.3.2 Reference</h2>
+		      	<h2>Apache HttpClient Cache 4.3.3 Reference</h2>
 
 		<table class="summary">
         	<thead>

Modified: httpcomponents/site/httpcomponents-client-4.3.x/httpclient-osgi/checkstyle.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-client-4.3.x/httpclient-osgi/checkstyle.html?rev=1572159&r1=1572158&r2=1572159&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-client-4.3.x/httpclient-osgi/checkstyle.html (original)
+++ httpcomponents/site/httpcomponents-client-4.3.x/httpclient-osgi/checkstyle.html Wed Feb 26 16:47:55 2014
@@ -3,7 +3,7 @@
       @import url("./css/maven-base.css");
       @import url("./css/maven-theme.css");
       @import url("./css/site.css");
-    </style><link rel="stylesheet" href="./css/print.css" type="text/css" media="print"></link><meta name="Date-Revision-yyyymmdd" content="20140119"></meta><meta http-equiv="Content-Language" content="en"></meta></head><body class="composite">
+    </style><link rel="stylesheet" href="./css/print.css" type="text/css" media="print"></link><meta name="Date-Revision-yyyymmdd" content="20140226"></meta><meta http-equiv="Content-Language" content="en"></meta></head><body class="composite">
     <div id="banner">
                       <div class="clear">
         <hr></hr>
@@ -13,7 +13,7 @@
             
         
                 <div class="xleft">
-        <span id="publishDate">Last Published: 2014-01-19</span>
+        <span id="publishDate">Last Published: 2014-02-26</span>
                   &#160;| <span id="projectVersion">Version: ${project.version}</span>
                       </div>
             <div class="xright">        
@@ -36,7 +36,7 @@
     </div>
     <div id="bodyColumn">
       <div id="contentBox">
-        <div class="section"><h2>Checkstyle Results<a shape="rect" name="Checkstyle_Results"></a></h2><p>The following document contains the results of <a shape="rect" class="externalLink" href="http://checkstyle.sourceforge.net/">Checkstyle</a>.&#160;<a shape="rect" href="checkstyle.rss"><img alt="rss feed" src="images/rss.png"></img></a></p></div><div class="section"><h2>Summary<a shape="rect" name="Summary"></a></h2><table class="bodyTable" border="0"><tr class="a"><th colspan="1" rowspan="1">Files</th><th colspan="1" rowspan="1">Infos&#160;<img alt="Infos" src="images/icon_info_sml.gif"></img></th><th colspan="1" rowspan="1">Warnings&#160;<img alt="Warnings" src="images/icon_warning_sml.gif"></img></th><th colspan="1" rowspan="1">Errors&#160;<img alt="Errors" src="images/icon_error_sml.gif"></img></th></tr><tr class="b"><td colspan="1" rowspan="1">1</td><td colspan="1" rowspan="1">0</td><td colspan="1" rowspan="1">0</td><td colspan="1" rowspan="1">0</td></tr></table></div><div c
 lass="section"><h2>Files<a shape="rect" name="Files"></a></h2><table class="bodyTable" border="0"><tr class="a"><th colspan="1" rowspan="1">Files</th><th colspan="1" rowspan="1">I&#160;<img alt="Infos" src="images/icon_info_sml.gif"></img></th><th colspan="1" rowspan="1">W&#160;<img alt="Warnings" src="images/icon_warning_sml.gif"></img></th><th colspan="1" rowspan="1">E&#160;<img alt="Errors" src="images/icon_error_sml.gif"></img></th></tr></table></div><div class="section"><h2>Rules<a shape="rect" name="Rules"></a></h2><table class="bodyTable" border="0"><tr class="b"><th colspan="1" rowspan="1">Rules</th><th colspan="1" rowspan="1">Violations</th><th colspan="1" rowspan="1">Severity</th></tr><tr class="a"><td colspan="1" rowspan="1">AvoidStarImport</td><td colspan="1" rowspan="1">0</td><td colspan="1" rowspan="1"><img alt="Errors" src="images/icon_error_sml.gif"></img>&#160;Error</td></tr><tr class="b"><td colspan="1" rowspan="1">IllegalImport</td><td colspan="1" rowspan="1">0</t
 d><td colspan="1" rowspan="1"><img alt="Errors" src="images/icon_error_sml.gif"></img>&#160;Error</td></tr><tr class="a"><td colspan="1" rowspan="1">RedundantImport</td><td colspan="1" rowspan="1">0</td><td colspan="1" rowspan="1"><img alt="Errors" src="images/icon_error_sml.gif"></img>&#160;Error</td></tr><tr class="b"><td colspan="1" rowspan="1">UnusedImports</td><td colspan="1" rowspan="1">0</td><td colspan="1" rowspan="1"><img alt="Errors" src="images/icon_error_sml.gif"></img>&#160;Error</td></tr><tr class="a"><td colspan="1" rowspan="1">EqualsHashCode</td><td colspan="1" rowspan="1">0</td><td colspan="1" rowspan="1"><img alt="Errors" src="images/icon_error_sml.gif"></img>&#160;Error</td></tr><tr class="b"><td colspan="1" rowspan="1">FinalParameters</td><td colspan="1" rowspan="1">0</td><td colspan="1" rowspan="1"><img alt="Errors" src="images/icon_error_sml.gif"></img>&#160;Error</td></tr><tr class="a"><td colspan="1" rowspan="1">FinalLocalVariable</td><td colspan="1" rowspan=
 "1">0</td><td colspan="1" rowspan="1"><img alt="Errors" src="images/icon_error_sml.gif"></img>&#160;Error</td></tr><tr class="b"><td colspan="1" rowspan="1">Header<ul><li><b>headerFile</b>: <tt>"C:\temp\rc\release-httpclient-4.3.2\build\repos-asf-httpcomponents-httpclient-tags-4.3.2\httpclient-osgi\target\checkstyle-header.txt"</tt></li></ul></td><td colspan="1" rowspan="1">0</td><td colspan="1" rowspan="1"><img alt="Errors" src="images/icon_error_sml.gif"></img>&#160;Error</td></tr><tr class="a"><td colspan="1" rowspan="1">FileTabCharacter<ul><li><b>eachLine</b>: <tt>"true"</tt></li></ul></td><td colspan="1" rowspan="1">0</td><td colspan="1" rowspan="1"><img alt="Errors" src="images/icon_error_sml.gif"></img>&#160;Error</td></tr><tr class="b"><td colspan="1" rowspan="1">RegexpSingleline<ul><li><b>message</b>: <tt>"Trailing whitespace"</tt></li><li><b>format</b>: <tt>"[ \t]+$"</tt></li></ul></td><td colspan="1" rowspan="1">0</td><td colspan="1" rowspan="1"><img alt="Errors" src="ima
 ges/icon_error_sml.gif"></img>&#160;Error</td></tr></table></div><div class="section"><h2>Details<a shape="rect" name="Details"></a></h2></div>
+        <div class="section"><h2>Checkstyle Results<a shape="rect" name="Checkstyle_Results"></a></h2><p>The following document contains the results of <a shape="rect" class="externalLink" href="http://checkstyle.sourceforge.net/">Checkstyle</a>.&#160;<a shape="rect" href="checkstyle.rss"><img alt="rss feed" src="images/rss.png"></img></a></p></div><div class="section"><h2>Summary<a shape="rect" name="Summary"></a></h2><table class="bodyTable" border="0"><tr class="a"><th colspan="1" rowspan="1">Files</th><th colspan="1" rowspan="1">Infos&#160;<img alt="Infos" src="images/icon_info_sml.gif"></img></th><th colspan="1" rowspan="1">Warnings&#160;<img alt="Warnings" src="images/icon_warning_sml.gif"></img></th><th colspan="1" rowspan="1">Errors&#160;<img alt="Errors" src="images/icon_error_sml.gif"></img></th></tr><tr class="b"><td colspan="1" rowspan="1">1</td><td colspan="1" rowspan="1">0</td><td colspan="1" rowspan="1">0</td><td colspan="1" rowspan="1">0</td></tr></table></div><div c
 lass="section"><h2>Files<a shape="rect" name="Files"></a></h2><table class="bodyTable" border="0"><tr class="a"><th colspan="1" rowspan="1">Files</th><th colspan="1" rowspan="1">I&#160;<img alt="Infos" src="images/icon_info_sml.gif"></img></th><th colspan="1" rowspan="1">W&#160;<img alt="Warnings" src="images/icon_warning_sml.gif"></img></th><th colspan="1" rowspan="1">E&#160;<img alt="Errors" src="images/icon_error_sml.gif"></img></th></tr></table></div><div class="section"><h2>Rules<a shape="rect" name="Rules"></a></h2><table class="bodyTable" border="0"><tr class="b"><th colspan="1" rowspan="1">Rules</th><th colspan="1" rowspan="1">Violations</th><th colspan="1" rowspan="1">Severity</th></tr><tr class="a"><td colspan="1" rowspan="1">AvoidStarImport</td><td colspan="1" rowspan="1">0</td><td colspan="1" rowspan="1"><img alt="Errors" src="images/icon_error_sml.gif"></img>&#160;Error</td></tr><tr class="b"><td colspan="1" rowspan="1">IllegalImport</td><td colspan="1" rowspan="1">0</t
 d><td colspan="1" rowspan="1"><img alt="Errors" src="images/icon_error_sml.gif"></img>&#160;Error</td></tr><tr class="a"><td colspan="1" rowspan="1">RedundantImport</td><td colspan="1" rowspan="1">0</td><td colspan="1" rowspan="1"><img alt="Errors" src="images/icon_error_sml.gif"></img>&#160;Error</td></tr><tr class="b"><td colspan="1" rowspan="1">UnusedImports</td><td colspan="1" rowspan="1">0</td><td colspan="1" rowspan="1"><img alt="Errors" src="images/icon_error_sml.gif"></img>&#160;Error</td></tr><tr class="a"><td colspan="1" rowspan="1">EqualsHashCode</td><td colspan="1" rowspan="1">0</td><td colspan="1" rowspan="1"><img alt="Errors" src="images/icon_error_sml.gif"></img>&#160;Error</td></tr><tr class="b"><td colspan="1" rowspan="1">FinalParameters</td><td colspan="1" rowspan="1">0</td><td colspan="1" rowspan="1"><img alt="Errors" src="images/icon_error_sml.gif"></img>&#160;Error</td></tr><tr class="a"><td colspan="1" rowspan="1">FinalLocalVariable</td><td colspan="1" rowspan=
 "1">0</td><td colspan="1" rowspan="1"><img alt="Errors" src="images/icon_error_sml.gif"></img>&#160;Error</td></tr><tr class="b"><td colspan="1" rowspan="1">Header<ul><li><b>headerFile</b>: <tt>"C:\temp\rc\release-httpclient-4.3.3\build\repos-asf-httpcomponents-httpclient-tags-4.3.3\httpclient-osgi\target\checkstyle-header.txt"</tt></li></ul></td><td colspan="1" rowspan="1">0</td><td colspan="1" rowspan="1"><img alt="Errors" src="images/icon_error_sml.gif"></img>&#160;Error</td></tr><tr class="a"><td colspan="1" rowspan="1">FileTabCharacter<ul><li><b>eachLine</b>: <tt>"true"</tt></li></ul></td><td colspan="1" rowspan="1">0</td><td colspan="1" rowspan="1"><img alt="Errors" src="images/icon_error_sml.gif"></img>&#160;Error</td></tr><tr class="b"><td colspan="1" rowspan="1">RegexpSingleline<ul><li><b>message</b>: <tt>"Trailing whitespace"</tt></li><li><b>format</b>: <tt>"[ \t]+$"</tt></li></ul></td><td colspan="1" rowspan="1">0</td><td colspan="1" rowspan="1"><img alt="Errors" src="ima
 ges/icon_error_sml.gif"></img>&#160;Error</td></tr></table></div><div class="section"><h2>Details<a shape="rect" name="Details"></a></h2></div>
       </div>
     </div>
     <div class="clear">

Modified: httpcomponents/site/httpcomponents-client-4.3.x/httpclient-osgi/clirr-report.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-client-4.3.x/httpclient-osgi/clirr-report.html?rev=1572159&r1=1572158&r2=1572159&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-client-4.3.x/httpclient-osgi/clirr-report.html (original)
+++ httpcomponents/site/httpcomponents-client-4.3.x/httpclient-osgi/clirr-report.html Wed Feb 26 16:47:55 2014
@@ -3,7 +3,7 @@
       @import url("./css/maven-base.css");
       @import url("./css/maven-theme.css");
       @import url("./css/site.css");
-    </style><link rel="stylesheet" href="./css/print.css" type="text/css" media="print"></link><meta name="Date-Revision-yyyymmdd" content="20140119"></meta><meta http-equiv="Content-Language" content="en"></meta></head><body class="composite">
+    </style><link rel="stylesheet" href="./css/print.css" type="text/css" media="print"></link><meta name="Date-Revision-yyyymmdd" content="20140226"></meta><meta http-equiv="Content-Language" content="en"></meta></head><body class="composite">
     <div id="banner">
                         <a shape="rect" id="bannerLeft" href="http://www.apache.org/">
                                         <img src="http://www.apache.org/images/asf_logo_wide.gif" alt="Apache"></img>
@@ -19,8 +19,8 @@
             
                 
                 <div class="xleft">
-        <span id="publishDate">Last Published: 2014-01-19</span>
-                  &#160;| <span id="projectVersion">Version: 4.3.2</span>
+        <span id="publishDate">Last Published: 2014-02-26</span>
+                  &#160;| <span id="projectVersion">Version: 4.3.3</span>
                       </div>
             <div class="xright">                    <a shape="rect" class="externalLink" href="http://www.apache.org/" title="Apache">Apache</a>
             |
@@ -86,7 +86,7 @@
         <div class="section">
 <h2>Clirr Results<a shape="rect" name="Clirr_Results"></a></h2>
 <p>The following document contains the results of <a shape="rect" class="externalLink" href="http://clirr.sourceforge.net/">Clirr</a>.</p>
-<ul><li>Current Version: 4.3.2</li><li>Comparison Version: 4.3</li></ul></div>
+<ul><li>Current Version: 4.3.3</li><li>Comparison Version: 4.3</li></ul></div>
 <div class="section">
 <h2>Summary<a shape="rect" name="Summary"></a></h2>
 <table class="bodyTable" border="0"><tr class="a"><th colspan="1" rowspan="1">Severity</th><th colspan="1" rowspan="1">Number</th></tr><tr class="b"><td colspan="1" rowspan="1"><img alt="Error" src="images/icon_error_sml.gif"></img>&#160;Error</td><td colspan="1" rowspan="1">679</td></tr><tr class="a"><td colspan="1" rowspan="1"><img alt="Warning" src="images/icon_warning_sml.gif"></img>&#160;Warning</td><td colspan="1" rowspan="1">0</td></tr><tr class="b"><td colspan="1" rowspan="1"><img alt="Info" src="images/icon_info_sml.gif"></img>&#160;Info</td><td colspan="1" rowspan="1">0</td></tr></table></div>



Mime
View raw message