From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_PASS, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id 767D81F4B4 for ; Wed, 14 Oct 2020 18:14:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387622AbgJNSOL (ORCPT ); Wed, 14 Oct 2020 14:14:11 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:40647 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727369AbgJNSOL (ORCPT ); Wed, 14 Oct 2020 14:14:11 -0400 Received: by mail-ed1-f67.google.com with SMTP id p13so410183edi.7 for ; Wed, 14 Oct 2020 11:14:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=b5bM4AGDInCZknmpSukKeC+rODdOMoP05S7rUBcW5ek=; b=dgC7qDrsdEsuv7Hb+AFRvc2F9plI+6MJirVddvTzT7byHZIfHxcMWVVXpOt4YlLsba d5rsJQ6S3XqzEQfVmpdK1ijpIBXphyEcXQPPrbjGTyOdlv2kyq1/IKJv2uLo2XzRL2Ud ZLFf+3s9znkZYRnndX/lqvXR8jZ2Fsb8Pqqje4beYem3EpqA9NUDG2ldqCrL4WWVuHGk ErOOvnP2zTWZkL7ZplKuewHznh176mLSCET5ovwpPowW4CiTgm6QJsKJv/+i9fAmRvrU hYmM/nuLLtq9gFWaqi1ae+bV2syFCs4XblJdZRvC7gNPFK1LaetSlEy1Rj6es7jeG9UY XH0A== X-Gm-Message-State: AOAM5307LY39B05kUjwDo4szvsFyvLx8fIKNoFiQAvRdcylYe1FsFLKi meaq7NOvftU1rBfZNzIUoz9ZPytx8NHzI04SfZ0= X-Google-Smtp-Source: ABdhPJw3o+uctu9YBGKkWVZHvAMcigEWjJQKfRwDDFgfXwJBE/Qz39TBA4A9leJ1lCjMV4Ewzvs40FceXUzCjGcySdA= X-Received: by 2002:a50:dacf:: with SMTP id s15mr165430edj.71.1602699248547; Wed, 14 Oct 2020 11:14:08 -0700 (PDT) MIME-Version: 1.0 References: <20201013191729.2524700-1-smcallis@google.com> In-Reply-To: From: Junio C Hamano Date: Wed, 14 Oct 2020 11:13:57 -0700 Message-ID: Subject: Re: [PATCH v2 1/3] remote-curl: add testing for intelligent retry for HTTP To: Sean McAllister Cc: Git Mailing List , Jeff King , Masaya Suzuki , Jonathan Nieder Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org > I modified it to use echo as the standard, it turns out apache handles > properly terminating lines for you > with CRLF. As for the lone echo, a double CRLF signals the end of the response > header and the start of the body. Curl doesn't behave properly without it. You misunderstood me. I wasn't questioning the need for a blank line. I found the inconsistency puzzling that all the previous ones (above) were done with printf and the later one was done with echo.