Content-length in HTTP Header Is Not Set When Requesting Static Resources (Doc ID 2166558.1)

Last updated on MARCH 29, 2017

Applies to:

Oracle WebLogic Server - Version 12.1.3.0.0 to 12.2.1.1.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

Content-length parameter in HTTP Header  is not set when requesting static resources with WebLogic Server 12c.

This problem is seen when accessing the static flash resource present in a web application.

####<11 juil. 2016 11 h 23 CEST> <Debug> <Http> <surcouf> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1468229005157> <BEA-000000> <Response committed. request: 'HttpRequest@1373517501 - /testContentLength_war_exploded/img/loader.gif' response: weblogic.servlet.internal.ServletResponseImpl@dd38b38[
HTTP/1.1 200 OK
Cache-Control: : max-age=31536000, public
Date: : Mon, 11 Jul 2016 09:23:25 GMT
Transfer-Encoding: : chunked
Accept-Ranges: : bytes
Content-Type: : image/gif
Expires: : Tue, 11 Jul 2017 09:23:25 GMT
Last-Modified: : Tue, 09 Feb 2016 08:44:28 GMT
X-SG-GDA-Cache: set
]>

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms