Advertisement
Guest User

curl results

a guest
Mar 15th, 2013
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.32 KB | None | 0 0
  1. Connection: keep-alive
  2. Location: http://example.com/
  3.  
  4. :/# curl -I http://example.com
  5. HTTP/1.1 200 OK
  6. Server: nginx
  7. Date: Fri, 15 Mar 2013 07:38:45 GMT
  8. Content-Type: text/html; charset=UTF-8
  9. Connection: keep-alive
  10. Vary: Accept-Encoding
  11.  
  12. :/# curl -I http://example.com/
  13. HTTP/1.1 200 OK
  14. Server: nginx
  15. Date: Fri, 15 Mar 2013 07:38:47 GMT
  16. Content-Type: text/html; charset=UTF-8
  17. Connection: keep-alive
  18. Vary: Accept-Encoding
  19.  
  20. :/# curl -I http://example.com/sub-site
  21. HTTP/1.1 301 Moved Permanently
  22. Server: nginx
  23. Date: Fri, 15 Mar 2013 07:39:05 GMT
  24. Content-Type: text/html; charset=UTF-8
  25. Connection: keep-alive
  26. Location: http://example.com/sub-site/
  27.  
  28. :/# curl -I http://example.com/sub-site/
  29. HTTP/1.1 200 OK
  30. Server: nginx
  31. Date: Fri, 15 Mar 2013 07:39:09 GMT
  32. Content-Type: text/html; charset=UTF-8
  33. Connection: keep-alive
  34. Vary: Accept-Encoding
  35.  
  36. :/# curl -I http://www.example.com/sub-site
  37. HTTP/1.1 301 Moved Permanently
  38. Server: nginx
  39. Date: Fri, 15 Mar 2013 07:39:17 GMT
  40. Content-Type: text/html
  41. Content-Length: 178
  42. Connection: keep-alive
  43. Location: http://example.com/sub-site
  44.  
  45. :/# curl -I http://www.example.com/sub-site/
  46. HTTP/1.1 301 Moved Permanently
  47. Server: nginx
  48. Date: Fri, 15 Mar 2013 07:39:21 GMT
  49. Content-Type: text/html
  50. Content-Length: 178
  51. Connection: keep-alive
  52. Location: http://example.com/sub-site/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement