Changeset 18806
- Timestamp:
- 09/29/2011 02:10:35 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-http.php
r18805 r18806 1626 1626 * 1627 1627 * Certain Servers will return deflated data with headers which PHP's gziniflate() 1628 * function cannot handle out of the box. The following function lifted from 1629 * http://au2.php.net/manual/en/function.gzinflate.php#77336 will attempt to deflate 1630 * the various return forms used. 1628 * function cannot handle out of the box. The following function has been created from 1629 * various snippets on the gzinflate() PHP documentation. 1630 * 1631 * Warning: Magic numbers within. Due to the potential different formats that the compressed 1632 * data may be returned in, some "magic offsets" are needed to ensure proper decompression 1633 * takes place. For a simple progmatic way to determine the magic offset in use, see: 1634 * http://core.trac.wordpress.org/ticket/18273 1631 1635 * 1632 1636 * @since 2.8.1 1637 * @link http://core.trac.wordpress.org/ticket/18273 1638 * @link http://au2.php.net/manual/en/function.gzinflate.php#70875 1633 1639 * @link http://au2.php.net/manual/en/function.gzinflate.php#77336 1634 1640 *
Note: See TracChangeset
for help on using the changeset viewer.