From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: * X-Spam-ASN: AS33070 50.56.128.0/17 X-Spam-Status: No, score=1.3 required=5.0 tests=RDNS_NONE shortcircuit=no autolearn=no version=3.3.2 X-Original-To: archivist@yhbt.net Delivered-To: archivist@dcvr.yhbt.net Received: from rubyforge.org (unknown [50.56.192.79]) by dcvr.yhbt.net (Postfix) with ESMTP id 95A2E1F44D for ; Sun, 12 May 2013 18:29:52 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 64FDE2E0F3; Sun, 12 May 2013 18:29:51 +0000 (UTC) X-Original-To: mongrel-unicorn@rubyforge.org Delivered-To: mongrel-unicorn@rubyforge.org X-Greylist: delayed 1015 seconds by postgrey-1.31 at rubyforge; Sun, 12 May 2013 18:29:46 UTC Received: from rasta.struction.de (mail.struction.de [85.214.237.111]) by rubyforge.org (Postfix) with ESMTP id 4B80F2E0F0 for ; Sun, 12 May 2013 18:29:45 +0000 (UTC) Received: from [212.255.251.57] (helo=[192.168.16.106]) by rasta.struction.de with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.76) (envelope-from ) id 1UbalF-0002wX-H3 for mongrel-unicorn@rubyforge.org; Sun, 12 May 2013 20:12:41 +0200 Message-ID: <518FDB98.8080402@struction.de> Date: Sun, 12 May 2013 20:12:40 +0200 From: pille User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130407 Thunderbird/17.0.5 MIME-Version: 1.0 To: mongrel-unicorn@rubyforge.org Subject: add HTTP response headers X-Authenticated-User: pille@struction.de X-Authenticator: plain X-Sender-Verify: SUCCEEDED (sender exists & accepts mail) X-Exim-Version: 4.76 (build at 10-Jul-2011 15:10:16) X-Date: 2013-05-12 20:12:41 X-Connected-IP: 212.255.251.57:52820 X-Message-Linecount: 23 X-Body-Linecount: 13 X-Message-Size: 749 X-Body-Size: 361 X-BeenThere: mongrel-unicorn@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: mongrel-unicorn-bounces@rubyforge.org Errors-To: mongrel-unicorn-bounces@rubyforge.org hi, is it possible to add static and dynamic HTTP response headers in unicorn.conf.rb? i'd like to add the hostname of the worker for debugging and a timestamp, when the request was worked on. currently this is done in nginx, which should be stripped from the stack. i'd like to keep it out of the webapp itself, because it's infrastructure. cheers pille _______________________________________________ Unicorn mailing list - mongrel-unicorn@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-unicorn Do not quote signatures (like this one) or top post when replying