|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
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-2024 The PHP Group
All rights reserved.
Last updated: Wed Feb 28 20:01:35 2024 UTC