This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 6797 - moki: incorrect entity content in redirect HTTPResponse elements
Summary: moki: incorrect entity content in redirect HTTPResponse elements
Status: RESOLVED FIXED
Alias: None
Product: mobileOK Basic checker
Classification: Unclassified
Component: Java Library (show other bugs)
Version: unspecified
Hardware: Other All
: P2 minor
Target Milestone: ---
Assignee: fd
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-10 11:36 UTC by fd
Modified: 2009-04-16 14:29 UTC (History)
0 users

See Also:


Attachments

Description fd 2009-04-10 11:36:38 UTC
When an HTTP resource is retrieved, when the server returns a redirection towards the final URI of the resource, the entity that appears in the moki representation of the redirection response is the decoded content of the final resource, not that of the redirection response itself.

This means in practice that the decoded content of the final resource appears twice in the moki representation: first time in the HTTPResponse of the 302 response, second time in the final HTTPResponse.

I don't think this has any impact: the size of the redirection response is correct and is all that matters as far as mobileOK is concerned. The content of the entity element of the redirection response is not used anywhere.

[NB: this bug is fixed in the soon-to-be-committed version of the library]
Comment 1 fd 2009-04-16 14:29:12 UTC
The re-factored version of the library released to fix bug 6800 fixes this bug.