<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>6797</bug_id>
          
          <creation_ts>2009-04-10 11:36:38 +0000</creation_ts>
          <short_desc>moki: incorrect entity content in redirect HTTPResponse elements</short_desc>
          <delta_ts>2009-04-16 14:29:12 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>mobileOK Basic checker</product>
          <component>Java Library</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="fd">fd</reporter>
          <assigned_to name="fd">fd</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>24645</commentid>
    <comment_count>0</comment_count>
    <who name="fd">fd</who>
    <bug_when>2009-04-10 11:36:38 +0000</bug_when>
    <thetext>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&apos;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]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24775</commentid>
    <comment_count>1</comment_count>
    <who name="fd">fd</who>
    <bug_when>2009-04-16 14:29:12 +0000</bug_when>
    <thetext>The re-factored version of the library released to fix bug 6800 fixes this bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>