Return-Path: Delivered-To: apmail-sling-dev-archive@www.apache.org Received: (qmail 87591 invoked from network); 10 May 2010 11:07:11 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 May 2010 11:07:11 -0000 Received: (qmail 45894 invoked by uid 500); 10 May 2010 11:07:11 -0000 Delivered-To: apmail-sling-dev-archive@sling.apache.org Received: (qmail 45673 invoked by uid 500); 10 May 2010 11:07:10 -0000 Mailing-List: contact dev-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list dev@sling.apache.org Received: (qmail 45663 invoked by uid 99); 10 May 2010 11:07:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 May 2010 11:07:09 +0000 X-ASF-Spam-Status: No, hits=-1408.3 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 May 2010 11:07:08 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4AB6ml2020302 for ; Mon, 10 May 2010 11:06:48 GMT Message-ID: <15748327.63521273489608624.JavaMail.jira@thor> Date: Mon, 10 May 2010 07:06:48 -0400 (EDT) From: "Alexander Klimetschek (JIRA)" To: dev@sling.apache.org Subject: [jira] Updated: (SLING-1521) Remove license header from HtmlResponse output In-Reply-To: <31909907.41521273272167590.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SLING-1521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Klimetschek updated SLING-1521: ----------------------------------------- Attachment: sling-1521.patch Patch that removes the license header from the HtmlResponse.html template. > Remove license header from HtmlResponse output > ---------------------------------------------- > > Key: SLING-1521 > URL: https://issues.apache.org/jira/browse/SLING-1521 > Project: Sling > Issue Type: Improvement > Components: API > Affects Versions: API 2.0.8 > Reporter: Alexander Klimetschek > Priority: Minor > Attachments: sling-1521.patch > > > 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. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.