WordPress.org

Make WordPress Core

Ticket #11888: localhost-tests-with-arrays.log

File localhost-tests-with-arrays.log, 3.1 KB (added by Denis-de-Bernardy, 5 years ago)
Line 
1Transport:
2
3array (
4  0 =>
5  WP_Http_Streams::__set_state(array(
6  )),
7)
8
9Request to http://localhost/~denis/wp/?http_test=response:
10
11array (
12  'cookies' =>
13  array (
14    0 =>
15    WP_Http_Cookie::__set_state(array(
16       'name' => 'test',
17       'value' => 'test',
18       'expires' => NULL,
19       'path' => '/',
20       'domain' => false,
21    )),
22  ),
23  'headers' =>
24  array (
25    'Custom' => 'Headers',
26  ),
27)
28
29Response from http://localhost/~denis/wp/?http_test=response:
30
31array (
32  'headers' =>
33  array (
34    'date' => 'Thu, 14 Jan 2010 18:39:34 GMT',
35    'server' => 'Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8l DAV/2 PHP/5.3.1',
36    'x-powered-by' => 'PHP/5.3.1',
37    'vary' => 'User-Agent,Cookie',
38    'content-length' => '136',
39    'connection' => 'close',
40    'content-type' => 'text/plain; Charset: UTF-8;charset=UTF-8',
41  ),
42  'body' => 'Request:
43
44array (
45  \'Host\' => \'localhost\',
46  \'User-Agent\' => \'WordPress/2.9.1; http://localhost/~denis/wp\',
47  \'Custom\' => \'Headers\',
48)
49
50',
51  'response' =>
52  array (
53    'code' => '200',
54    'message' => 'OK',
55  ),
56  'cookies' =>
57  array (
58  ),
59)
60
61Request to http://dev.semiologic.com/?http_test=response:
62
63array (
64  'cookies' =>
65  array (
66    0 =>
67    WP_Http_Cookie::__set_state(array(
68       'name' => 'test',
69       'value' => 'test',
70       'expires' => NULL,
71       'path' => '/',
72       'domain' => 'dev.semiologic.com',
73    )),
74  ),
75  'headers' =>
76  array (
77    'Custom' => 'Headers',
78  ),
79)
80
81Response from http://dev.semiologic.com/?http_test=response:
82
83array (
84  'headers' =>
85  array (
86    'date' => 'Thu, 14 Jan 2010 18:39:35 GMT',
87    'server' => 'Apache/2.2.13 (FreeBSD) mod_ssl/2.2.13 OpenSSL/0.9.8e DAV/2 mod_python/3.3.1 Python/2.6.2 SVN/1.6.5',
88    'content-length' => '187',
89    'connection' => 'close',
90    'content-type' => 'text/plain; Charset: UTF-8',
91  ),
92  'body' => 'Request:
93
94array (
95  \'Host\' => \'dev.semiologic.com\',
96  \'User-Agent\' => \'WordPress/2.9.1; http://localhost/~denis/wp\',
97  \'Custom\' => \'Headers\',
98  \'X-Forwarded-For\' => \'212.198.119.154\',
99)
100
101',
102  'response' =>
103  array (
104    'code' => '200',
105    'message' => 'OK',
106  ),
107  'cookies' =>
108  array (
109  ),
110)
111
112Request to https://dev.semiologic.com/?http_test=response:
113
114array (
115  'cookies' =>
116  array (
117    0 =>
118    WP_Http_Cookie::__set_state(array(
119       'name' => 'test',
120       'value' => 'test',
121       'expires' => NULL,
122       'path' => '/',
123       'domain' => 'dev.semiologic.com',
124    )),
125  ),
126  'headers' =>
127  array (
128    'Custom' => 'Headers',
129  ),
130)
131
132Response from https://dev.semiologic.com/?http_test=response:
133
134array (
135  'headers' =>
136  array (
137    'date' => 'Thu, 14 Jan 2010 18:39:36 GMT',
138    'server' => 'Apache/2.2.13 (FreeBSD) mod_ssl/2.2.13 OpenSSL/0.9.8e DAV/2 mod_python/3.3.1 Python/2.6.2 SVN/1.6.5',
139    'content-length' => '145',
140    'connection' => 'close',
141    'content-type' => 'text/plain; Charset: UTF-8',
142  ),
143  'body' => 'Request:
144
145array (
146  \'Host\' => \'dev.semiologic.com\',
147  \'User-Agent\' => \'WordPress/2.9.1; http://localhost/~denis/wp\',
148  \'Custom\' => \'Headers\',
149)
150
151',
152  'response' =>
153  array (
154    'code' => '200',
155    'message' => 'OK',
156  ),
157  'cookies' =>
158  array (
159  ),
160)