Handle HTTP404

See #317 .