Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-3153

REST endpoint does not return Last-modified header for GET operation if the entry was stored via HotRod or Embedded cache

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 5.3.0.Final
    • 5.3.0.Final
    • Server
    • None

      When an entry is stored via HotRod an embedded cache, and later retrieved via REST,the Last-modified header looks like this:

      Last Modified: null

      Another observation is that when the entry is stored via REST and retrieved via REST again, the Last-modified header is:

      Last-Modified: Thu, 01 Jan 1970 00:00:00 GMT

      This is obviously wrong and this was working correctly with JDG-server which contained ISPN 5.2. OTOH, when I set "timeToLiveSeconds" header on the request, the Last-modified is properly set (not to 1970).

              rh-ee-galder Galder ZamarreƱo
              mgencur Martin Gencur (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: