Skip to content

Commit

Permalink
re use server date
Browse files Browse the repository at this point in the history
  • Loading branch information
bung87 committed Dec 16, 2023
1 parent 64469a4 commit 95adc50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scorper/http/streamserver.nim
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ proc resp*(req: ImpRequest, content: sink string,
headers.hasKeyOrPut("Content-Length"):
flen
headers.hasKeyOrPut("Date"):
httpDate()
serverDate
when HttpServer.len > 0:
headers.hasKeyOrPut("Server"):
HttpServer
Expand Down

0 comments on commit 95adc50

Please sign in to comment.