Skip to content

Commit

Permalink
fixed duplicating 'Date' header
Browse files Browse the repository at this point in the history
  • Loading branch information
spleenjack committed Sep 20, 2010
1 parent 9cf77d3 commit 1f06096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Starman/Server.pm
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ sub _finalize_response {
}
}

if ( ! $headers{Date} ) {
if ( ! $headers{date} ) {
push @headers, "Date: " . time2str( time() );
}

Expand Down

0 comments on commit 1f06096

Please sign in to comment.