With the Fopen adapter, sniff the error message for an HTTP status code, and if
authorChuck Hagenbuch <chuck@horde.org>
Sun, 23 Aug 2009 16:30:59 +0000 (12:30 -0400)
committerChuck Hagenbuch <chuck@horde.org>
Sun, 23 Aug 2009 16:30:59 +0000 (12:30 -0400)
commit1d9a5911bc6abf5c9a535a6c4b858a19f5c62f60
tree95179a53103baf143f4e7abbce47f4dd005f31a5
parentfd3d53683bc6471555cb235ccff73c3efbe31d1b
With the Fopen adapter, sniff the error message for an HTTP status code, and if
there is one, return a minimally useful Response object instead of throwing an
error message.
framework/Http_Client/lib/Horde/Http/Client/Adapter/Fopen.php
framework/Http_Client/test/Horde/Http/Client/Adapter/FopenTest.php [new file with mode: 0644]
framework/Http_Client/test/Horde/Http/Client/AllTests.php [new file with mode: 0644]