Allowing HEAD request

To make `curl -I http://127.0.0.1:5000` work