-
Notifications
You must be signed in to change notification settings - Fork 41
Closed
RusticiSoftware/TinCanPHP
#90Labels
Description
It looks like we're not setting etag headers when making PUT requests to the Agent profile API. This is preventing the plugin from working with LRSs that pass the ADL conformance test suite e.g. Watershed.
Relevant code is here:
I'm not clear on whether this is an issue with TinCanPHP or the plugin. Either way, we need to be setting the If-None-Match header in cases where the document is not found. I.e. an else statement here: https://github.com/garemoko/moodle-mod_tincanlaunch/blob/e7799fd82e533c95ba9df7b9e083f6c5b613b32d/locallib.php#L350
