Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-1521

Remove license header from HtmlResponse output

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • API 2.0.8
    • API 2.1.0
    • API
    • None

    Description

      Every response from the sling post servlet contains the Sling/Apache License header at the top. This is a little bit annoying, since it doesn't belong there and you have to scroll/search longer to find the interesting parts of the response. It also creates unnecessary network traffic.

      I suggest to remove it from the HtmlResponse.html template and exclude the file from the rat license check. The other option would be to dynamically strip this from the file at runtime, but that is not efficient.

      Attachments

        1. sling-1521.patch
          1 kB
          Alexander Klimetschek

        Issue Links

          Activity

            People

              justinedelson Justin Edelson
              alexander.klimetschek Alexander Klimetschek
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: