Test: /ext/standard/tests/http/bug61548.phpt - Version 5.4.39        

Bug #61548 content-type must appear at the end of headers for 201 Location to work in http
Submitted: 2012-03-28 22:14:35 Modified:
From: david Assigned:
Status: Closed Package: HTTP related
PHP Version: 5.3.10 OS: linux

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

Count Diff
207 (97%)
001+ Done
001- POST / HTTP/1.0
002- Host: 127.0.0.1:12342
003- First:1
004- Second:2
005- Content-type: text/plain
006-
007- GET /foo HTTP/1.0
008- Host: 127.0.0.1:12342
009- First:1
010- Second:2
011-
012-
013- POST / HTTP/1.0
014- Host: 127.0.0.1:12342
015- First:1
016- Second:2
017- Content-type: text/plain
018-
019- GET /foo HTTP/1.0
020- Host: 127.0.0.1:12342
021- First:1
022- Second:2
023-
024-
025- POST / HTTP/1.0
026- Host: 127.0.0.1:12342
027- First:1
028- Second:2
029- Content-type: text/plain
030- Third:
031-
032- GET /foo HTTP/1.0
033- Host: 127.0.0.1:12342
034- First:1
035- Second:2
036- Third:
037-
038- POST / HTTP/1.0
039- Host: 127.0.0.1:12342
040- First:1
041- Content-type:text/plain
042- Second:2
043-
044- GET /foo HTTP/1.0
045- Host: 127.0.0.1:12342
046- First:1
047- Second:2
048-
049- POST / HTTP/1.0
050- Host: 127.0.0.1:12342
051- First:1
052- Content-type:text/plain
053- Second:2
054-
055- GET /foo HTTP/1.0
056- Host: 127.0.0.1:12342
057- First:1
058- Second:2
059-
060- POST / HTTP/1.0
061- Host: 127.0.0.1:12342
062- First:1
063- Content-type:text/plain
064- Second:2
065- Third:
066-
067- GET /foo HTTP/1.0
068- Host: 127.0.0.1:12342
069- First:1
070- Second:2
071- Third:
072-
073- Done
3 (1%)
001+ POST / HTTP/1.1
002+ User-Agent: PHP/5.4.39
001- POST / HTTP/1.0
004+ Accept: */*
007- GET /foo HTTP/1.0
008+ Content-Length: 0
010+ POST / HTTP/1.1
011+ User-Agent: PHP/5.4.39
012-
013- POST / HTTP/1.0
013+ Accept: */*
016+ Content-type: text/plain
017+ Content-Length: 0
019+ POST / HTTP/1.1
020+ User-Agent: PHP/5.4.39
019- GET /foo HTTP/1.0
022+ Accept: */*
024-
025- POST / HTTP/1.0
026+ Content-Length: 0
028+ POST / HTTP/1.1
029+ User-Agent: PHP/5.4.39
029- Content-type: text/plain
030- Third:
031+ Accept: */*
032- GET /foo HTTP/1.0
033+ Content-type:text/plain
035+ Content-Length: 0
036- Third:
037+ POST / HTTP/1.1
038+ User-Agent: PHP/5.4.39
038- POST / HTTP/1.0
040+ Accept: */*
042+ Content-type:text/plain
044+ Content-Length: 0
046+ POST / HTTP/1.1
047+ User-Agent: PHP/5.4.39
049+ Accept: */*
051+ Content-type:text/plain
053+ Content-Length: 0
055+ Done
039- Host: 127.0.0.1:12342
040- First:1
041- Content-type:text/plain
042- Second:2
043-
044- GET /foo HTTP/1.0
045- Host: 127.0.0.1:12342
046- First:1
047- Second:2
048-
049- POST / HTTP/1.0
050- Host: 127.0.0.1:12342
051- First:1
052- Content-type:text/plain
053- Second:2
054-
055- GET /foo HTTP/1.0
056- Host: 127.0.0.1:12342
057- First:1
058- Second:2
059-
060- POST / HTTP/1.0
061- Host: 127.0.0.1:12342
062- First:1
063- Content-type:text/plain
064- Second:2
065- Third:
066-
067- GET /foo HTTP/1.0
068- Host: 127.0.0.1:12342
069- First:1
070- Second:2
071- Third:
072-
073- Done
2 (1%)
1 (0%)
001+ POST / HTTP/1.1
002+ User-Agent: PHP/5.4.39
001- POST / HTTP/1.0
004+ Accept: */*
007- GET /foo HTTP/1.0
008+ Content-Length: 0
010+ POST / HTTP/1.1
011+ User-Agent: PHP/5.4.39
012-
013- POST / HTTP/1.0
013+ Accept: */*
016+ Content-type: text/plain
017+ Content-Length: 0
017- Content-type: text/plain
019+ POST / HTTP/1.1
020+ User-Agent: PHP/5.4.39
019- GET /foo HTTP/1.0
022+ Accept: */*
024+ Content-type:text/plain
026+ Content-Length: 0
028+ Done
020- Host: 127.0.0.1:12342
021- First:1
022- Second:2
023-
024-
025- POST / HTTP/1.0
026- Host: 127.0.0.1:12342
027- First:1
028- Second:2
029- Content-type: text/plain
030- Third:
031-
032- GET /foo HTTP/1.0
033- Host: 127.0.0.1:12342
034- First:1
035- Second:2
036- Third:
037-
038- POST / HTTP/1.0
039- Host: 127.0.0.1:12342
040- First:1
041- Content-type:text/plain
042- Second:2
043-
044- GET /foo HTTP/1.0
045- Host: 127.0.0.1:12342
046- First:1
047- Second:2
048-
049- POST / HTTP/1.0
050- Host: 127.0.0.1:12342
051- First:1
052- Content-type:text/plain
053- Second:2
054-
055- GET /foo HTTP/1.0
056- Host: 127.0.0.1:12342
057- First:1
058- Second:2
059-
060- POST / HTTP/1.0
061- Host: 127.0.0.1:12342
062- First:1
063- Content-type:text/plain
064- Second:2
065- Third:
066-
067- GET /foo HTTP/1.0
068- Host: 127.0.0.1:12342
069- First:1
070- Second:2
071- Third:
072-
073- Done
1 (0%)
001+ POST / HTTP/1.1
002+ User-Agent: PHP/5.4.39
001- POST / HTTP/1.0
004+ Accept: */*
007- GET /foo HTTP/1.0
008+ Content-Length: 0
010+ POST / HTTP/1.1
011+ User-Agent: PHP/5.4.39
012-
013- POST / HTTP/1.0
013+ Accept: */*
016+ Content-type: text/plain
017+ Content-Length: 0
017- Content-type: text/plain
019+ POST / HTTP/1.1
020+ User-Agent: PHP/5.4.39
019- GET /foo HTTP/1.0
022+ Accept: */*
024+ Content-type:text/plain
024-
025- POST / HTTP/1.0
026+ Content-Length: 0
028+ POST / HTTP/1.1
029+ User-Agent: PHP/5.4.39
029- Content-type: text/plain
030- Third:
031+ Accept: */*
032- GET /foo HTTP/1.0
033+ Content-type:text/plain
035+ Content-Length: 0
037+ POST / HTTP/1.1
038+ User-Agent: PHP/5.4.39
040+ Accept: */*
042+ Content-type:text/plain
044+ Content-Length: 0
046+ Done
033- Host: 127.0.0.1:12342
034- First:1
035- Second:2
036- Third:
037-
038- POST / HTTP/1.0
039- Host: 127.0.0.1:12342
040- First:1
041- Content-type:text/plain
042- Second:2
043-
044- GET /foo HTTP/1.0
045- Host: 127.0.0.1:12342
046- First:1
047- Second:2
048-
049- POST / HTTP/1.0
050- Host: 127.0.0.1:12342
051- First:1
052- Content-type:text/plain
053- Second:2
054-
055- GET /foo HTTP/1.0
056- Host: 127.0.0.1:12342
057- First:1
058- Second:2
059-
060- POST / HTTP/1.0
061- Host: 127.0.0.1:12342
062- First:1
063- Content-type:text/plain
064- Second:2
065- Third:
066-
067- GET /foo HTTP/1.0
068- Host: 127.0.0.1:12342
069- First:1
070- Second:2
071- Third:
072-
073- Done