Skip to content

Commit 66afc97

Browse files
committed
add a new line at end of body
1 parent 4f22336 commit 66afc97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/simple.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ fn response(
432432
.append_header((header::LOCATION, name.clone()))
433433
.cookie_delta(&cookies)
434434
.body(format!(
435-
"{}{name}",
435+
"{}{name}\n",
436436
if !config.base_url.is_empty() && !config.base_url.ends_with('/') {
437437
format!("{}{}", config.base_url, "/")
438438
} else {

0 commit comments

Comments
 (0)