diff --git a/daemon_get.py b/daemon_get.py index c640d6968..135d891e8 100644 --- a/daemon_get.py +++ b/daemon_get.py @@ -387,7 +387,7 @@ def daemon_http_get(self) -> None: # malevolent intent if check_mixed_user_agent(ua_str): print('GET HTTP contradictory browsers within user agent ' + - str(self.headers)) + str(self.headers).replace('\n', ' ')) http_400(self) return diff --git a/daemon_post.py b/daemon_post.py index b72a82893..8d6e60d9d 100644 --- a/daemon_post.py +++ b/daemon_post.py @@ -287,7 +287,7 @@ def daemon_http_post(self) -> None: # malevolent intent if check_mixed_user_agent(ua_str): print('POST HTTP contradictory browsers within user agent ' + - str(self.headers)) + str(self.headers).replace('\n', ' ')) http_400(self) return