Test: /ext/curl/tests/bug27023.phpt - Version 7.2.5RC1        

Feature/Change Request #27023 CURL: CURLOPT_POSTFIELDS does not parse content types for files
Submitted: 2004-01-23 13:26:19 Modified: 2011-12-07 16:36:47
From: brianl Assigned: pierrick
Status: Closed Package: cURL related
PHP Version: * OS: *

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
001+ string(550) "<!doctype html><html><head><title>404 Not Found</title><style>
002+ body { background-color: #fcfcfc; color: #333333; margin: 0; padding:0; }
003+ h1 { font-size: 1.5em; font-weight: normal; background-color: #9999cc; min-height:2em; line-height:2em; border-bottom: 1px inset black; margin: 0; }
004+ h1, p { padding-left: 10px; }
001- string(%d) "curl_testdata1.txt|application/octet-stream"
002- string(%d) "curl_testdata1.txt|text/plain"
003- string(%d) "foo.txt|application/octet-stream"
004- string(%d) "foo.txt|text/plain"
005+ code.url { background-color: #eeeeee; font-family:monospace; padding:0 2px;}
006+ </style>
007+ </head><body><h1>Not Found</h1><p>The requested resource <code class="url">/get.php?test=file</code> was not found on this server.</p></body></html>"
008+ string(550) "<!doctype html><html><head><title>404 Not Found</title><style>
009+ body { background-color: #fcfcfc; color: #333333; margin: 0; padding:0; }
010+ h1 { font-size: 1.5em; font-weight: normal; background-color: #9999cc; min-height:2em; line-height:2em; border-bottom: 1px inset black; margin: 0; }
011+ h1, p { padding-left: 10px; }
012+ code.url { background-color: #eeeeee; font-family:monospace; padding:0 2px;}
013+ </style>
014+ </head><body><h1>Not Found</h1><p>The requested resource <code class="url">/get.php?test=file</code> was not found on this server.</p></body></html>"
015+ string(550) "<!doctype html><html><head><title>404 Not Found</title><style>
016+ body { background-color: #fcfcfc; color: #333333; margin: 0; padding:0; }
017+ h1 { font-size: 1.5em; font-weight: normal; background-color: #9999cc; min-height:2em; line-height:2em; border-bottom: 1px inset black; margin: 0; }
018+ h1, p { padding-left: 10px; }
019+ code.url { background-color: #eeeeee; font-family:monospace; padding:0 2px;}
020+ </style>
021+ </head><body><h1>Not Found</h1><p>The requested resource <code class="url">/get.php?test=file</code> was not found on this server.</p></body></html>"
022+ string(550) "<!doctype html><html><head><title>404 Not Found</title><style>
023+ body { background-color: #fcfcfc; color: #333333; margin: 0; padding:0; }
024+ h1 { font-size: 1.5em; font-weight: normal; background-color: #9999cc; min-height:2em; line-height:2em; border-bottom: 1px inset black; margin: 0; }
025+ h1, p { padding-left: 10px; }
026+ code.url { background-color: #eeeeee; font-family:monospace; padding:0 2px;}
027+ </style>
028+ </head><body><h1>Not Found</h1><p>The requested resource <code class="url">/get.php?test=file</code> was not found on this server.</p></body></html>"