Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76702 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87488 invoked from network); 19 Aug 2014 12:22:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Aug 2014 12:22:31 -0000 Authentication-Results: pb1.pair.com smtp.mail=mike.php.net@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=mike.php.net@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.49 as permitted sender) X-PHP-List-Original-Sender: mike.php.net@gmail.com X-Host-Fingerprint: 209.85.215.49 mail-la0-f49.google.com Received: from [209.85.215.49] ([209.85.215.49:53397] helo=mail-la0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4E/11-16275-58143F35 for ; Tue, 19 Aug 2014 08:22:31 -0400 Received: by mail-la0-f49.google.com with SMTP id hz20so5869812lab.36 for ; Tue, 19 Aug 2014 05:22:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=PXvH35BvPlfHLDuqhiHZHpMV1wwJAX5c40jngO7WVXE=; b=kC9BIkmNRS8IKCZEU0ddVMvMrbJJPovlx3c0O0Yels38KYn853ofjXlSaVy8EOEc17 91OKkDCrYcV710Lt4jwDYSObtcnBtQ43fUXVML+AzRErG0lMisjN7EQS+8ooGRp6ya87 V/qmQ/Ovqwkpk0gNwnSR/z/n6mZ3Bm/S9BGGdZxV5gR4Ge3ptSONzr+t7DKoy5ZUwDxn tE2DkU7V5gYOm1Y8pqzvzXor7YXluIK10KJ4EKk3Ilp6pt2KjT3975kgDqdzzT+FztP7 YaH2lvNxWqlAYZZlpctlvPUL1mqhqf6rOa1iKQGzq65Ayi/Pbc/QFgfgSc2rycrOYByT buGg== MIME-Version: 1.0 X-Received: by 10.112.118.141 with SMTP id km13mr31753668lbb.37.1408450946995; Tue, 19 Aug 2014 05:22:26 -0700 (PDT) Sender: mike.php.net@gmail.com Received: by 10.114.48.66 with HTTP; Tue, 19 Aug 2014 05:22:26 -0700 (PDT) In-Reply-To: <1408449194.2617.375.camel@guybrush> References: <53F3018E.6090201@php.net> <1408449194.2617.375.camel@guybrush> Date: Tue, 19 Aug 2014 14:22:26 +0200 X-Google-Sender-Auth: VJOK2DBl5_7O20jaqn8AtBrU0Yo Message-ID: To: =?UTF-8?Q?Johannes_Schl=C3=BCter?= Cc: PHP Internals Content-Type: multipart/alternative; boundary=047d7bfcfd7e611d050500fa8a64 Subject: Re: [PHP-DEV] [RFC] pecl_http From: mike@php.net (Michael Wallner) --047d7bfcfd7e611d050500fa8a64 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 19 August 2014 13:53, Johannes Schl=C3=BCter wr= ote: > > In my opinion when moving this to core the http(s):// stream should use > the same HTTP implementation so one has consistent behavior. > > This would add a hard dependency on libcurl, which I'd be obviously fine with. > I also see that HTTP offers "Content type guessing [...] by building > this extension with libmagic support" I think that should based on > fileinfo so both report the same type for a file. Again consistency. > This is from the v1-docs and was developed in a time before Fileinfo existed. That feature was not elevated to v2. > > I also think the HTTP module should be forced on (like SPL or pcre) or > at least be on by default (unless --disable-[all|http] is used) > > johannes > > --=20 Regards, Mike --047d7bfcfd7e611d050500fa8a64--