nextcloud/tests/lib/appframework/http
Lukas Reschke 62e3de1bdb Check if response could get generated
`json_encode` fails hard on PHP >= 5.5 if a non UTF-8 value is specified by returning false. Older PHP versions just nullify the value which makes it at least somewhat usable.

This leads to very confusing errors which are very hard to debug since developers are usually not aware of this. In this case I'd consider throwing a fatal exception – since it arguably is an error situation – is a fair solution since this makes developers and administrators aware of any occurence of the problem so that these bugs can get fixed.

Fixes https://github.com/owncloud/core/issues/17265
2015-07-02 11:42:51 +02:00
..
ContentSecurityPolicyTest.php Add support for disallowing domains to the ContentSecurityPolicy 2015-05-20 11:44:37 +02:00
DataResponseTest.php Allow AppFramework applications to specify a custom CSP header 2015-02-16 11:00:41 +01:00
DispatcherTest.php Refactor OC_Request into TrustedDomainHelper and IRequest 2015-02-16 22:13:00 +01:00
DownloadResponseTest.php Make remaining files extend the test base 2014-11-19 14:53:59 +01:00
HttpTest.php Make remaining files extend the test base 2014-11-19 14:53:59 +01:00
JSONResponseTest.php Check if response could get generated 2015-07-02 11:42:51 +02:00
OCSResponseTest.php add a controller and reponse for ocs 2015-02-05 14:02:17 +01:00
RedirectResponseTest.php Make remaining files extend the test base 2014-11-19 14:53:59 +01:00
RequestTest.php Fix undefined offset 2015-06-22 12:28:07 +02:00
ResponseTest.php Add `no-store` to AppFramework 2015-06-15 18:35:41 +02:00
StreamResponseTest.php AppFramework StreamResponse 2015-02-27 15:42:33 +01:00
TemplateResponseTest.php Make remaining files extend the test base 2014-11-19 14:53:59 +01:00
requeststream.php Implement PUT an PATCH support 2013-10-01 20:13:13 +02:00