diff --git a/src/daemon_get.py b/src/daemon_get.py index 764458872..c3871fce2 100644 --- a/src/daemon_get.py +++ b/src/daemon_get.py @@ -397,9 +397,10 @@ def daemon_http_get(self) -> None: if not ua_str.strip(): invalid_user_agent = True if invalid_user_agent: - print('GET no user agent ' + - str(self.headers).replace('\n', ' ') + - ' Path: ' + str(self.path)) + if not self.path.endswith('/nodeinfo'): + print('GET no user agent ' + + str(self.headers).replace('\n', ' ') + + ' Path: ' + str(self.path)) http_400(self) return