src/main/java/cloud/tamacat/httpd/util/ReverseUtils.java
public static void rewriteContentLocationHeader(
			HttpRequest request, HttpResponse response, ReverseConfig reverseUrl) {
		Header[] locationHeaders = response.getHeaders("Content-Location");
		response.removeHeaders("Content-Location");
		for (Header location : locationHeaders) {
			String value = deleteCRLF(location.getValue());
			String convertUrl = reverseUrl.getConvertRequestedUrl(value);
			if (convertUrl != null) {
				response.addHeader("Content-Location", convertUrl);
			}
		}
	}
/**
	 * <p>Rewrite the Content-Location response headers.
	 * @param response
	 * @param reverseUrl
	 */
Rewrite the Content-Location response headers.
@param response
@param reverseUrl
Rewrite the Content - Location response headers . @param response @param reverseUrl
public static void rewriteContentLocationHeader(
			HttpRequest request, HttpResponse response, ReverseConfig reverseUrl) {
		Header[] locationHeaders = response.getHeaders("Content-Location");
		response.removeHeaders("Content-Location");
		for (Header location : locationHeaders) {
			String value = deleteCRLF(location.getValue());
			String convertUrl = reverseUrl.getConvertRequestedUrl(value);
			if (convertUrl != null) {
				response.addHeader("Content-Location", convertUrl);
			}
		}
	}
public static void rewriteContentLocationHeader ( HttpRequest request , HttpResponse response , ReverseConfig reverseUrl ) { Header [ ] locationHeaders = response . getHeaders ( "Content-Location" ) ; response . removeHeaders ( "Content-Location" ) ; for ( Header location : locationHeaders ) { String value = deleteCRLF ( location . getValue ( ) ) ; String convertUrl = reverseUrl . getConvertRequestedUrl ( value ) ; if ( convertUrl != null ) { response . addHeader ( "Content-Location" , convertUrl ) ; } } }
<p>Rewrite the Content-Location response headers.
<p > Rewrite the Content - Location response headers .