Return-Path: X-Original-To: apmail-incubator-deltacloud-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-deltacloud-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6742472C4 for ; Mon, 26 Sep 2011 13:41:09 +0000 (UTC) Received: (qmail 92827 invoked by uid 500); 26 Sep 2011 13:41:09 -0000 Delivered-To: apmail-incubator-deltacloud-dev-archive@incubator.apache.org Received: (qmail 92808 invoked by uid 500); 26 Sep 2011 13:41:09 -0000 Mailing-List: contact deltacloud-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: deltacloud-dev@incubator.apache.org Delivered-To: mailing list deltacloud-dev@incubator.apache.org Received: (qmail 92796 invoked by uid 99); 26 Sep 2011 13:41:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2011 13:41:09 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of davanum@gmail.com designates 209.85.161.47 as permitted sender) Received: from [209.85.161.47] (HELO mail-fx0-f47.google.com) (209.85.161.47) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2011 13:41:04 +0000 Received: by fxi1 with SMTP id 1so5909219fxi.6 for ; Mon, 26 Sep 2011 06:40:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=gtz7zPMKTF6lD6ldg2pyLCwq5bR7sL1dVFsKHm90a94=; b=xDjhJeALFbuMTJdP2LXnyV3jp34SxfJwLD3bue3y7n4zvIyJwBlaruLs3FiBy7YQQ/ 2fmIU/QQ0wCOgIn6i9oSBE1PlR39oCtc2qj+9rexv0sITZpd7ZG6Lfr6HGXZCaRYdVKO QMzyDgbKJIFFv1iRGR1/qdav6Ej5a8mHdxNoY= MIME-Version: 1.0 Received: by 10.223.95.139 with SMTP id d11mr10685094fan.117.1317044443013; Mon, 26 Sep 2011 06:40:43 -0700 (PDT) Received: by 10.223.100.1 with HTTP; Mon, 26 Sep 2011 06:40:42 -0700 (PDT) In-Reply-To: <32209D7D-FE81-4882-B869-52849E61E3EC@mifo.sk> References: <0518FB75-13A5-4132-901B-FC8F90BA0999@redhat.com> <1317041790-28262-1-git-send-email-dims@apache.org> <32209D7D-FE81-4882-B869-52849E61E3EC@mifo.sk> Date: Mon, 26 Sep 2011 09:40:42 -0400 Message-ID: Subject: Re: [PATCH] Fix for DTACLOUD-18 : Missing Host header not handled From: Davanum Srinivas To: deltacloud-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sent. yes, i have a ICLA on file - http://people.apache.org/committer-index= .html On Mon, Sep 26, 2011 at 9:34 AM, Michal Fojtik wrote: > On Sep 26, 2011, at 2:56 PM, dims@apache.org wrote: > >> +before do >> + =A0# Respond with 400, If we don't get a http Host header, >> + =A0halt 400, "Unable to find HTTP Host header" if @env['HTTP_HOST'] = =3D=3D nil >> +end >> + >> # Redirect to /api >> get '/' do redirect root_url, 301; end >> > > ACK. Could you please send it in proper git format, so I can push it with= your > signature? > > PS: I assume you have signed Apache CLA. > > =A0-- Michal --=20 Davanum Srinivas :: http://davanum.wordpress.com