17944c01ea
Allow a GuzzleResponse body to be queried more than once
...
- Using `StreamInterface->getContents` left the stream index at the end of the stream, which made every subsequent call to `getBody()` return empty string
- Using `StreamInterface->__toString()` magic method correctly seek the stream to the start before reading
2021-08-24 11:30:11 -04:00
9eba32226c
make CS happy :)
2021-08-20 22:11:36 +02:00
65ca164487
A lot of Fixings
2021-08-20 21:35:14 +02:00
a338e4cbff
Update src/Network/GuzzleResponse.php
2021-08-20 19:58:42 +02:00
756f57f198
Revert "Use last entry for Content-Type
2021-08-20 19:58:42 +02:00
26401e88b8
IHTTPResult::getContentType is now a string again
2021-08-20 19:58:42 +02:00
3c074ab315
HTTPRequest: Replace getInfo() with new parameter 'content_length'
2021-08-20 19:58:42 +02:00
a60ca4a1cf
Use Guzzle for HTTPRequest and Result
2021-08-20 19:58:42 +02:00
0aaad3e392
Revert "Use Guzzle for HTTPRequest and Result"
...
This reverts commit fff94563
2020-10-11 23:26:12 +02:00
2e8ad098b9
Revert "HTTPRequest: Replace getInfo() with new parameter 'content_length'"
...
This reverts commit f3cd973c
2020-10-11 23:25:47 +02:00
40349bfdc4
Revert "IHTTPResult::getContentType is now a string again"
...
This reverts commit 40b11442
2020-10-11 23:25:29 +02:00
16f5965fd4
Revert "Use last entry for Content-Type"
...
This reverts commit e17befb7
2020-10-11 23:25:14 +02:00
ef06fab744
Revert "Update src/Network/GuzzleResponse.php"
...
This reverts commit 79e667b3
2020-10-11 23:24:40 +02:00
Philipp
79e667b3d1
Update src/Network/GuzzleResponse.php
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-10-11 00:33:36 +02:00
e17befb7d6
Use last entry for Content-Type
2020-10-10 23:11:30 +02:00
40b11442c2
IHTTPResult::getContentType is now a string again
2020-10-10 23:11:30 +02:00
f3cd973cbe
HTTPRequest: Replace getInfo() with new parameter 'content_length'
2020-10-10 23:11:30 +02:00
fff94563d7
Use Guzzle for HTTPRequest and Result
2020-10-10 23:11:30 +02:00