|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58408 tests/HttpRequest_002 fails trivially
Submitted: 2008-11-06 13:19 UTC Modified: 2009-12-10 08:43 UTC
From: myers at spy-hill dot net Assigned:
Status: Closed Package: pecl_http (PECL)
PHP Version: HEAD CVS-2008-11-06 (dev) OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: myers at spy-hill dot net
New email:
PHP Version: OS:


 [2008-11-06 13:19 UTC] myers at spy-hill dot net
HttpRequest GET/POST test reports failure, but the only problem was that returned 200 rather than expected 302, and returned SSL engine list.

Comparison with Google seems reasonable, except that they may well change their site and you have no recourse.  Instead, how about testing against or some other server?

This was with PHP 5.2.6 but that was not an option, I was not using CVS HEAD

Expected result:
I expected the test to pass.  When it failed I expected a serious problem, not just 200 in place of 302.

Actual result:
www15:tests> more HttpRequest_002.diff
005+     [response_code] => 200
005-     [response_code] => 302^M
031+             [0] => padlock
032+             [1] => dynamic
033+         )
037+         )


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-12-10 08:43 UTC]
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Dec 11 23:01:29 2023 UTC