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

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 is 1 diff reported by users for this test.

Count Diff
18 (100%)
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