Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add extra logging for Moodle's file check
We are seeing a school response that doesn't seem to contain the content type header we rely on to determine if a file still exists in Moodle. Before we try alternative approaches to detect if a file exists lets add some logging to check the response headers. One possible explanation could be that we are dealing with two different issues issues: - The server doesn't return the content type header for this request Maybe a different Moodle version? Some server configured in front of Moodle strips them. - The file doesn't exist on the server or we can access it for some reason.
- Loading branch information