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 664503f commit 1d1b7b2Copy full SHA for 1d1b7b2
example/sp-wsgi/sp.py
@@ -877,8 +877,17 @@ def application(environ, start_response):
877
POLICY = service_conf.POLICY
878
879
add_urls()
880
-
881
- ds.DefaultSignature(service_conf.SIGN_ALG, service_conf.DIGEST_ALG)
+ sign_alg = None
+ digest_alg = None
882
+ try:
883
+ sign_alg = service_conf.SIGN_ALG
884
+ except:
885
+ pass
886
887
+ digest_alg = service_conf.DIGEST_ALG
888
889
890
+ ds.DefaultSignature(sign_alg, digest_alg)
891
892
SRV = wsgiserver.CherryPyWSGIServer((HOST, PORT), application)
893
0 commit comments