Hyperion icon indicating copy to clipboard operation
Hyperion copied to clipboard

Consider If-Modified-Since header

Open Petitoto opened this issue 2 years ago • 0 comments

Subject of the issue

When OIDC clients try to get a user profile picture, they often use a If-Modified-Since flag to reduce the network usage. We should support this

Your environment

  • Version of Hyperion: latest main
  • Operating system: debian

Steps to reproduce

Run Hyperion and add an OIDC provider which triggers the profile picture and use a If-Modified-Since (eg: Nextcloud).

Expected behaviour

The profile picture should be downloaded only when it has been changed since the last download of the OIDC client.

Actual behaviour

The picture is always returned to the OIDC client

Petitoto avatar Nov 16 '23 17:11 Petitoto