Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-58470

Content-length header is missing when xsendfile() is enabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Minor Minor
    • None
    • 3.3
    • Performance, Themes
    • MOODLE_33_STABLE
    • MDL-58470-content-length_header_with_xsendfile_2
    • Hide
      1. enable xsendfile in web server and in config.php
      2. load dashboard page
      3. check (as explained here : http://superuser.com/a/295363) if there is Content-length header in http response for static contents served by theme/jquery.php or theme/image.php scripts (ex: png user picture).

      note :

      • if browser client handle gzip contents, svg contents served by theme/image.php will not have Content-length header in their response
      • if browser client handle gzip contents, css and javascript contents served by theme/jquery.php will not have Content-length header in their response
      Show
      enable xsendfile in web server and in config.php load dashboard page check (as explained here : http://superuser.com/a/295363 ) if there is Content-length header in http response for static contents served by theme/jquery.php or theme/image.php scripts (ex: png user picture). note : if browser client handle gzip contents, svg contents served by theme/image.php will not have Content-length header in their response if browser client handle gzip contents, css and javascript contents served by theme/jquery.php will not have Content-length header in their response

      As highlighted on forum, Content-length header is missing when xsendfile() is enabled since MDL-57965 has been integrated in master branch.

       

            jboulen Julien Boulen
            jboulen Julien Boulen
            David Monllaó David Monllaó
            Andrew Lyons Andrew Lyons
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.