Merge pull request #4 from trs998/patch-1
[mdref/mdref-http] / http.md
diff --git a/http.md b/http.md
index 0a1c87d91ac4c27730bbd18b81e18be5b67495c1..d5924f1df943b20e156816a9e273fb20102b3935 100644 (file)
--- a/http.md
+++ b/http.md
@@ -25,6 +25,7 @@ The following system libraries are required to build this extension:
 
 =zlib=
        Provides gzip/zlib/deflate encoding.  
+       Minimum version: 1.2.0.4  
        Install on Debian: `apt-get install zlib1g-dev`
 
 
@@ -34,15 +35,28 @@ The following system libraries are optional and provide additional features:
 
 =libidn=
        Provides IDNA support in URLs.  
+       Minimum version: none  
        Install on Debian: `apt-get install libidn11-dev`
 
+=libidn2=
+       Provides IDNA support in URLs (fallback if libidn is not available).  
+       Minimum version: none  
+       Install on Debian: `apt-get install libidn2-0-dev`
+
+=libicu=
+       Provides IDNA support in URLs (fallback if libidn is not available).  
+       Minimum version: none  
+       Install on Debian: `apt-get install libicu-dev`
+
 =libcurl=
        Provides HTTP request functionality.  
+       Minimum version: 7.18.2  
        Install on Debian: `apt-get install libcurl4-openssl-dev`  
        Note: There are usually different styles of SSL support for libcurl available, so you can replace 'openssl' in the above command f.e. with 'nss' or 'gnutls'.
 
 =libevent=
        Eventloop support for the HTTP client.  
+       Minimum version: none  
        Install on Debian: `apt-get install libevent-dev`
 
 ### PHP extensions:
@@ -58,7 +72,7 @@ If configured ```--with-http-shared-deps``` (default) it depends on the pre-load
 
 * hash
 * iconv
-* json
+* json (only until < 2.4.0)
 
 Please ensure that all extension on which pecl/http depends, are loaded before it, e.g in your `php.ini`:
 
@@ -104,3 +118,5 @@ The http extension registers the ```http.*``` namespace for its stream filters.
 Version | Change
 --------|-------
 2.0.4   | Dropped the pecl/event conflict.
+2.4.0   | Dropped the ext/json dependency.
+2.4.2   | Added libidn2 and libicu as fallback for IDNA support.