Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Too bad it's not running on the original webserver:

  Trying 54.230.79.254...
  Connected to d2cj35nmzi9erd.cloudfront.net.
  Escape character is '^]'.
  HEAD / HTTP/1.0

  HTTP/1.1 400 Bad Request
  Server: CloudFront
  Date: Sun, 04 Dec 2016 18:34:50 GMT
  Content-Type: text/html
  Content-Length: 551
  Connection: close
  X-Cache: Error from cloudfront
  Via: 1.1 5a907351331cc8f5ed11d0a2d0f249d6.cloudfront.net (CloudFront)
  X-Amz-Cf-Id: FJ6dusWopHeZOLLWVpHp__EdWDJcdTSufhQ3E8rVveg-3rAku1Gdzg==


Yeah, they are on AmasonS3; I have just tested it myself:

        curl -vI mars.nasa.gov
	* Rebuilt URL to: mars.nasa.gov/
	*   Trying 52.222.171.112...
	* Connected to mars.nasa.gov (52.222.171.112) port 80 (#0)
	> HEAD / HTTP/1.1
	> Host: mars.nasa.gov
	> User-Agent: curl/7.50.1
	> Accept: */*
	> 
	< HTTP/1.1 200 OK
	HTTP/1.1 200 OK
	< Content-Type: text/html
	Content-Type: text/html
	< Content-Length: 93833
	Content-Length: 93833
	< Connection: keep-alive
	Connection: keep-alive
	< Date: Sun, 04 Dec 2016 18:45:05 GMT
	Date: Sun, 04 Dec 2016 18:45:05 GMT
	< Cache-Control: max-age=60
	Cache-Control: max-age=60
	< Last-Modified: Sun, 04 Dec 2016 18:44:07 GMT
	Last-Modified: Sun, 04 Dec 2016 18:44:07 GMT
	< ETag: "e21cacedb2a8c984fac76d84cd8549a7"
	ETag: "e21cacedb2a8c984fac76d84cd8549a7"
	< Server: AmazonS3
	Server: AmazonS3
	< X-Cache: Miss from cloudfront
	X-Cache: Miss from cloudfront
	< Via: 1.1 09a9032b8291da9155abd9dd1a5a360e.cloudfront.net (CloudFront)
	Via: 1.1 09a9032b8291da9155abd9dd1a5a360e.cloudfront.net (CloudFront)
	< X-Amz-Cf-Id: yVDCFvz6IzsBDzJIbzL8fA7fG2MVIyydpNKP1Kkk1mr6Oh0dqYIVKQ==
	X-Amz-Cf-Id: yVDCFvz6IzsBDzJIbzL8fA7fG2MVIyydpNKP1Kkk1mr6Oh0dqYIVKQ==

        < 
	* Connection #0 to host mars.nasa.gov left intact


isn't that response header a bit leaky? What value does it add to provide info on the server




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: