We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 810dd36 commit 6c104feCopy full SHA for 6c104fe
src/kubernetes_wsgi/__main__.py
@@ -60,6 +60,11 @@ def parse_args(argv: Sequence[Text]) -> Dict[str, Any]:
60
default=20,
61
help="Maximum number of threads to run",
62
)
63
+ parser.add_argument(
64
+ "--hide-server",
65
+ action="store_true",
66
+ help="Hides server version in HTTP header"
67
+ )
68
args = parser.parse_args(argv)
69
return {
70
"application": args.application,
@@ -68,6 +73,7 @@ def parse_args(argv: Sequence[Text]) -> Dict[str, Any]:
73
"health_check_path": args.health_check_path,
74
"min_threads": args.min_threads,
75
"max_threads": args.max_threads,
76
+ "hide_server": args.hide_server,
71
77
}
72
78
79
0 commit comments