rfc:pecl_http

This is an old revision of the document!


PHP RFC: Add pecl_http to core

Introduction

A discussion whether it is feasible to add pecl_http (v2 API) to the core.

Proposal

Providing the functionality of pecl_http with the core distribution.

See the Github repo for the sources, the online markdown reference for the complete userland API and the LCOV code coverage report for a glance on test coverage.

The PHP7 port can be found here:
https://github.com/php/pecl-http-pecl_http/tree/phpng

A fully merged (http and dependencies) tree can be found here:
https://github.com/m6w6/php-src/tree/merge-http

Proposed PHP Version(s)

PHP7, resp. git:master

RFC Impact

To SAPIs

WEB:

  • pecl_http adds processing for json request bodies into $_POST

To Opcache

None.

New Constants

No new global constants.

php.ini Defaults

  • http.etag.mode => crc32b

Open Issues

The PHP manual still hosts the docs for pecl_http-v1 and it's not been decided how to handle the documentation of pecl_http-v2 which are located here.

Unaffected PHP Functionality

The http: stream wrapper is unaffected by pecl_http.

Vote

50%+1 combined “Yes” votes needed for acceptance.

Merge pecl_http to core?
Real name Yes, enabled by default Yes, disabled by default No
ab (ab)   
ajf (ajf)   
brianlmoon (brianlmoon)   
bwoebi (bwoebi)   
jedibc (jedibc)   
mbeccati (mbeccati)   
mike (mike)   
ralphschindler (ralphschindler)   
remi (remi)   
sobak (sobak)   
stas (stas)   
Final result: 5 0 6
This poll has been closed.

The vote started on 2015-01-28 at 12:00 UTC and ends on 2015-02-06 at 12:00 UTC. The vote has been cancelled on 2015-01-28 at 23:30 UTC due to concerns about completeness of the RFC.

Changelog

  • 1.1
    • Added “Feature corner stones”
  • 1.2
    • Improvements to “Introduction” and “Proposal”
  • 1.3
    • Added another link to the current docs
  • 1.4
    • Added link to fully merged tree
    • Expand voting options
rfc/pecl_http.1422488416.txt.gz · Last modified: 2017/09/22 13:28 (external edit)