[
https://issues.apache.org/jira/browse/WICKET-2613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Victor Igumnov updated WICKET-2613:
-----------------------------------
Attachment: root-final-fix.java
I jumped the gun on the last patch. It just masked the root problem. The issue
was with Connections#findFile.
Here is the modified findFile method that works correctly.
> Content-Length Issue with 1.4.4
> -------------------------------
>
> Key: WICKET-2613
> URL: https://issues.apache.org/jira/browse/WICKET-2613
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 1.4.4
> Environment: OSX/JDK6
> Reporter: Victor Igumnov
> Attachments: content-length.patch, root-final-fix.java,
> UrlResourceStream.java-1.4.1
>
>
> I have upgraded to wicket-1.4.4 from wicket-1.4.3. I have made sure to
> recompile all dependent libraries against 1.4.4. Since switching any
> component referenced from a JAR comes back with an incorrect content-length.
> I can resolve this issue by switching back to 1.4.3.
> syris:~ victori$ curl -I
> http://lfab:8480/resources/wicket.contrib.IconElements/vcard.gif
> HTTP/1.1 200 OK
> Date: Sun, 13 Dec 2009 23:02:11 GMT
> Last-Modified: Sun, 13 Dec 2009 23:00:44 GMT
> Expires: Mon, 14 Dec 2009 00:02:11 GMT
> Cache-Control: max-age=3600
> Content-Type: image/gif
> Content-Length: 99925
> Server: Jetty(6.1.12)
> It should be 619 bytes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.