Overview
Comment: | Make sure HTTP __toString returns a string |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | 7.3 |
Files: | files | file ages | folders |
SHA1: |
10ab7555caecfceb8315811d87531f12 |
User & Date: | bohwaz on 2020-12-05 09:59:26 |
Other Links: | branch diff | manifest | tags |
Context
2020-12-05
| ||
10:14 | DB: Don't quote integers and floats check-in: 2d2f045691 user: bohwaz tags: 7.3 | |
09:59 | Make sure HTTP __toString returns a string check-in: 10ab7555ca user: bohwaz tags: 7.3 | |
2020-11-27
| ||
11:39 | Smartyer: remove legacy methods check-in: d5ec9b2ae1 user: bohwaz tags: 7.3 | |
Changes
Modified src/lib/KD2/HTTP.php from [51b1e7498b] to [82520a15ff].
︙ | ︙ | |||
743 744 745 746 747 748 749 | public function __construct() { $this->headers = new HTTP_Headers; } public function __toString() { | | | 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 | public function __construct() { $this->headers = new HTTP_Headers; } public function __toString() { return (string)$this->body; } } class HTTP_Headers implements \ArrayAccess { protected $headers = []; |
︙ | ︙ |