cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz TaƄczyk <golia...@polzone.pl>
Subject ImageReader blows http headers
Date Thu, 21 Oct 2004 22:25:14 GMT
Hello users,

  Please take a look at those to matches:
      <map:match pattern="b/*.jpg">
        <map:read type="dbreader" src="{1}" mime-type="image/jpeg">
          <map:parameter name="table" value="images" />
          <map:parameter name="last-modified" value="img_timestamp"/>          
          <map:parameter name="image" value="img_data" />
          <map:parameter name="key" value="id" />
          <map:parameter name="expires" value="86400"/>
        </map:read>
      </map:match>   
     <map:match type="regexp" pattern="idb/(\d*).jpg">
        <map:read type="image" src="cocoon:/db/{1}.jpg" mime-type="image/jpeg">
          <map:parameter name="width" value="100" />
        </map:read>
      </map:match>

  On Cocoon 2.1.6dev last-modified http header exists if I call
  "db/..", but when I request "idb/.." last-modified(and expires also) is discarded by
  ImageReader/ResourceReader. On 2.1.5.1 there is no problem with
  this, both headers are present.

  How to fix it?

  Thanks for any help.

-- 
Best regards,
 Grzegorz                          mailto:goliatus@polzone.pl


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message