cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz TaƄczyk <>
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: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" />

  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 there is no problem with
  this, both headers are present.

  How to fix it?

  Thanks for any help.

Best regards,

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message