This repository was archived by the owner on Nov 17, 2020. It is now read-only.

Description
We tried to use RabbitMQ with the rabbitmq-trust-store plugin. We configured the plugin to access an external service which provides the required endpoints.
When the plugin retrieves the list of certificates, the Last-Modified response header is set and the plugin sends the next query with the Last-Modified timestamp in the If-Modified-Since request header. If now something changes on the server, the Last-Modified timestamp is updated in the response header but the plugin still sends requests with the old If-Modified-Since timestamp. Somehow it seems that it is not updated after the first time receiving the Last-Modified timestamp.
Note, we are returning Last-Modified timestamp with 200 OK, if something changed and 304 Not Changed if nothing changed (without Last-Modified timestamp).