Test: /ext/curl/tests/bug66109.phpt - Version 7.4.21        

Bug #66109 Option CURLOPT_CUSTOMREQUEST can't be reset to default.
Submitted: 2013-11-18 04:24:45 Modified: 2014-02-28 14:47:41
From: datibbaw Assigned: datibbaw
Status: Closed Package: cURL related
PHP Version: 5.5Git-2013-11-18 (Git) OS: n/a

There are 2 different diffs reported by users for this test.

Count Diff
1 (50%)
001+ string(1939) "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 002+ <html> 001- string(6) "DELETE" 002- string(3) "GET" 003+ <head> 004+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 005+ <title>Connection to server failed</title> 006+ <style type="text/css"> 007+ <!-- 008+ body { 009+ font-family: sans-serif; 010+ padding: 1em; 011+ } 012+ .mainBody { 013+ max-width: 600px; 014+ margin: auto; 015+ } 016+ .header { 017+ border-bottom: 3px solid #e73a27; 018+ line-height: 1.5em; 019+ padding-bottom: 1em; 020+ } 021+ h1 { 022+ color: #808080; 023+ font-size: 1.5em; 024+ line-height: 1em; 025+ } 026+ span { 027+ color: #000000; 028+ font-size: 1em; 029+ } 030+ .footer { 031+ text-align: right; 032+ padding-top: 3px; 033+ color: #808080; 034+ font-weight: bold; 035+ } 036+ .footer i { 037+ font-style: normal; 038+ } 039+ .nocss { 040+ display: none; 041+ } 042+ --> 043+ </style> 044+ </head> 045+ <body> 046+ <div class="mainBody"> 047+ <div class="header"> 048+ <h1>Connection to server failed</h1> 049+ <span>Connection actively refused by the server</span> 050+ </div> 051+ <div class="footer"><span class='nocss'><br /></span><i>This message was created by Kerio Control Proxy</i></div> 052+ </div> 053+ </body> 054+ </html> 055+ " 056+ string(1939) "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 057+ <html> 058+ <head> 059+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 060+ <title>Connection to server failed</title> 061+ <style type="text/css"> 062+ <!-- 063+ body { 064+ font-family: sans-serif; 065+ padding: 1em; 066+ } 067+ .mainBody { 068+ max-width: 600px; 069+ margin: auto; 070+ } 071+ .header { 072+ border-bottom: 3px solid #e73a27; 073+ line-height: 1.5em; 074+ padding-bottom: 1em; 075+ } 076+ h1 { 077+ color: #808080; 078+ font-size: 1.5em; 079+ line-height: 1em; 080+ } 081+ span { 082+ color: #000000; 083+ font-size: 1em; 084+ } 085+ .footer { 086+ text-align: right; 087+ padding-top: 3px; 088+ color: #808080; 089+ font-weight: bold; 090+ } 091+ .footer i { 092+ font-style: normal; 093+ } 094+ .nocss { 095+ display: none; 096+ } 097+ --> 098+ </style> 099+ </head> 100+ <body> 101+ <div class="mainBody"> 102+ <div class="header"> 103+ <h1>Connection to server failed</h1> 104+ <span>Connection actively refused by the server</span> 105+ </div> 106+ <div class="footer"><span class='nocss'><br /></span><i>This message was created by Kerio Control Proxy</i></div> 107+ </div> 108+ </body> 109+ </html> 110+ "
1 (50%)
001+ Server is not running 001- string(6) "DELETE" 002- string(3) "GET"