|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-06-19 00:05 UTC] ehalls at gmail dot com
[2012-08-17 05:14 UTC] kilbyc at bellsouth dot net
[2015-06-16 07:42 UTC] mike@php.net
-Status: Open
+Status: Wont fix
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 17:00:01 2025 UTC |
Description: ------------ Hello I got the following exception launched on method ($HttpRequest)->send(): HttpInvalidParamException . But this is not listed on current documentation. Also the exception parent class HttpException is missing on docs. Could you add the exception related classes to the Http package documentation. That would be nice for first users of this package. Test script: --------------- # point to some url that will not response # $req = new HttpRequest( "http://anyurl-that-will-timeout" ,HttpRequest::METH_GET ); $req->send(); Expected result: ---------------- An exception from the listed ones on documentation. Actual result: -------------- Fatal error: Uncaught exception 'HttpInvalidParamException' with message 'Empty or too short HTTP message: '''