mirror of
https://github.com/rwf2/Rocket.git
synced 2025-01-18 07:29:09 +00:00
Capitalize Rocket in Server response header.
This commit is contained in:
parent
393225cedf
commit
4f704e95f2
@ -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.")),
|
||||
|
Loading…
Reference in New Issue
Block a user