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

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
2 (100%)
001+ Done
001- POST / HTTP/1.0
002- Host: 127.0.0.1:12342
003- Connection: close
004- First:1
005- Second:2
006- Content-type: text/plain
007-
008- GET /foo HTTP/1.0
009- Host: 127.0.0.1:12342
010- Connection: close
011- First:1
012- Second:2
013-
014-
015- POST / HTTP/1.0
016- Host: 127.0.0.1:12342
017- Connection: close
018- First:1
019- Second:2
020- Content-type: text/plain
021-
022- GET /foo HTTP/1.0
023- Host: 127.0.0.1:12342
024- Connection: close
025- First:1
026- Second:2
027-
028-
029- POST / HTTP/1.0
030- Host: 127.0.0.1:12342
031- Connection: close
032- First:1
033- Second:2
034- Content-type: text/plain
035- Third:
036-
037- GET /foo HTTP/1.0
038- Host: 127.0.0.1:12342
039- Connection: close
040- First:1
041- Second:2
042- Third:
043-
044- POST / HTTP/1.0
045- Host: 127.0.0.1:12342
046- Connection: close
047- First:1
048- Content-type:text/plain
049- Second:2
050-
051- GET /foo HTTP/1.0
052- Host: 127.0.0.1:12342
053- Connection: close
054- First:1
055- Second:2
056-
057- POST / HTTP/1.0
058- Host: 127.0.0.1:12342
059- Connection: close
060- First:1
061- Content-type:text/plain
062- Second:2
063-
064- GET /foo HTTP/1.0
065- Host: 127.0.0.1:12342
066- Connection: close
067- First:1
068- Second:2
069-
070- POST / HTTP/1.0
071- Host: 127.0.0.1:12342
072- Connection: close
073- First:1
074- Content-type:text/plain
075- Second:2
076- Third:
077-
078- GET /foo HTTP/1.0
079- Host: 127.0.0.1:12342
080- Connection: close
081- First:1
082- Second:2
083- Third:
084-
085- Done