Closed goshacmd closed 11 years ago
This doesn't seem to work on the active site -
$ curl --head http://blockexplorer.com/rawblock/00000000000000002ee0f32ea020697c31926d7f98f3202bff9f0762285920c8
HTTP/1.1 200 OK
Server: cloudflare-nginx
Date: Tue, 27 May 2014 16:12:01 GMT
Content-Type: text/plain; charset=iso-8859-1
Connection: keep-alive
Set-Cookie: __cfduid=de5d62b2828c0501be1a0b5303879f5471401207121325; expires=Mon, 23-Dec-2019 23:50:00 GMT; path=/; domain=.blockexplorer.com; HttpOnl
y
X-Powered-By: PHP/5.4.4-14+deb7u8
ETag: W/"19"
Expires: Wed, 28 May 2014 16:12:01 GMT
CF-RAY: 13137ddc4b290b81-LHR
$ curl --head http://blockexplorer.com/rawtx/9905ec7b263be093a530e12c88388b2bb553755a206ba3f9fa4530d62308b637
HTTP/1.1 200 OK
Server: cloudflare-nginx
Date: Tue, 27 May 2014 16:14:06 GMT
Content-Type: text/plain; charset=iso-8859-1
Connection: keep-alive
Set-Cookie: __cfduid=d18f07be3ea78106e7af6ce40e72a567d1401207246777; expires=Mon, 23-Dec-2019 23:50:00 GMT; path=/; domain=.blockexplorer.com; HttpOnl
y
X-Powered-By: PHP/5.4.4-14+deb7u8
ETag: W/"19"
Expires: Wed, 28 May 2014 16:14:06 GMT
CF-RAY: 131380ec5af60b81-LHR
Due to same-origin policy, JavaScript apps can't properly process the response of XMLHttpRequest if it doesn't have the Access-Control-Allow-Origin header.