Consistent capitalization of titles

This commit is contained in:
Tomasz Drwięga
2016-09-01 15:33:26 +02:00
parent 31dbbf5431
commit 9f8482e968
4 changed files with 7 additions and 5 deletions

View File

@@ -39,7 +39,7 @@ pub fn is_valid(request: &server::Request<HttpStream>, allowed_hosts: &[String],
pub fn host_invalid_response() -> Box<server::Handler<HttpStream> + Send> {
Box::new(ContentHandler::error(StatusCode::Forbidden,
"Current host is disallowed",
"Current Host Is Disallowed",
"You are trying to access your node using incorrect address.",
Some("Use allowed URL or specify different <code>hosts</code> CLI options.")
))