Moodle App Not Triggering GET request after receiving HEAD response

Moodle App Not Triggering GET request after receiving HEAD response

by Tin Tun -
Number of replies: 0
Hello,

My local moodle serve is hosted on apache2 with mod_php module approach instead of php-fpm. I locally publish my moodle site via Ngrok turnnel. Everything works until testing with mobile app.
Moodle mobile app can successfully login to my site and perform other stuff.

The problem is that no image of any type (profile, course thumbnails, lesson image) are loaded on mobile app, only texts are shown.

After Inspecting ngrok network traffic, i found that mobile app fire HEAD request to backend before sending GET request for these image content. My server successfully respond incoming HEAD request with necessary HEADERS except for two header (connection type and Strict-Transport-Security but mobile is not sending GET request.

My local apache did not set up SSL certificate.

Can anyone please explain how moodle app handle HEAD response or what headers and conditions are necessary for moodle app to fire GET request after receiving HEAD response from server.

Thanks.

Following is my server response to Head request.
Attachment respose.png
Average of ratings: -