Server now returns a response even if there is no file, instead of hanging.