Skip to content

Commit

Permalink
WSGI environ SERVER_PORT should be a string (close #169)
Browse files Browse the repository at this point in the history
  • Loading branch information
gi0baro committed Jan 10, 2024
1 parent f77bd15 commit 6a7dd91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wsgi/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ impl WSGIScope {
percent_decode_str(path).decode_utf8().unwrap(),
query_string,
self.py_http_version(),
(self.server_ip.to_string(), self.server_port),
(self.server_ip.to_string(), self.server_port.to_string()),
&self.client[..],
&self.scheme[..],
&self.method[..],
Expand Down

0 comments on commit 6a7dd91

Please sign in to comment.