Hacker News new | ask | show | jobs
by jimmahoney 3069 days ago
It looks cool, but I don't really want to wait half a minute for it to do anything.

  $ time curl cs.marlboro.college
  <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  <html><head>
  <title>301 Moved Permanently</title>
  </head><body>
  <h1>Moved Permanently</h1>
  <p>The document has moved <a href="https://cs.marlboro.college  /">here</a>.</p>
  <hr>
  <address>Apache/2.4.18 (Ubuntu) Server at cs.marlboro.college Port 80</address>
  </body></html>

  real	0m0.269s
  user	0m0.004s
  sys	0m0.005s
  
  $ time http cs.marlboro.college
  HTTP/1.1 301 Moved Permanently
  Connection: Keep-Alive
  Content-Length: 321
  Content-Type: text/html; charset=iso-8859-1
  Date: Sat, 27 Jan 2018 18:04:17 GMT
  Keep-Alive: timeout=5, max=100
  Location: https://cs.marlboro.college/
  Server: Apache/2.4.18 (Ubuntu)
  
  <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  <html><head>
  <title>301 Moved Permanently</title>
  </head><body>
  <h1>Moved Permanently</h1>
  <p>The document has moved <a href="https://cs.marlboro.college/">here</a>.</p>
  <hr>
  <address>Apache/2.4.18 (Ubuntu) Server at cs.marlboro.college Port 80</address>
  </body></html>

  real	0m30.553s
  user	0m0.437s
  sys	0m0.052s
1 comments

On my computer httpie took 0.775s, and curl took 0.105s, so not much slower.
7 times