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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a bug
    • Affects Version/s: 3.3
    • Fix Version/s: None
    • Component/s: Performance, Themes
    • Labels:
    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_33_STABLE
    • Pull Master Branch:
      MDL-58470-content-length_header_with_xsendfile_2

      Description

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

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jboulen Julien Boulen
              Reporter:
              jboulen Julien Boulen
              Peer reviewer:
              David Monllaó
              Integrator:
              Andrew Nicols
              Participants:
              Component watchers:
              Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Bas Brands
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: