Capitalize Rocket in Server response header

This commit is contained in:
Ryan Leckey 2017-03-01 21:39:18 -08:00
parent 6be902162d
commit a8507427c3
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ impl Rocket {
fn issue_response(&self, mut response: Response, hyp_res: hyper::FreshResponse) {
// Add the 'rocket' server header, and write out the response.
// TODO: If removing Hyper, write out `Date` header too.
response.set_header(Header::new("Server", "rocket"));
response.set_header(Header::new("Server", "Rocket"));
match self.write_response(response, hyp_res) {
Ok(_) => info_!("{}", Green.paint("Response succeeded.")),