@@ -254,12 +254,6 @@ def handle_logout_response(self, response):
254
254
status ["reason" ], status ["not_on_or_after" ],
255
255
status ["sign" ])
256
256
257
- # ========================================================================
258
- # MUST use SOAP for
259
- # AssertionIDRequest, SubjectQuery, AuthnQuery, AttributeQuery or
260
- # AuthzDecisionQuery
261
- # ========================================================================
262
-
263
257
def _use_soap (self , destination , query_type , ** kwargs ):
264
258
_create_func = getattr (self , "create_%s" % query_type )
265
259
_response_func = getattr (self , "parse_%s_response" % query_type )
@@ -432,13 +426,14 @@ def handle_logout_request(self, request, name_id, binding, sign=False,
432
426
:param sign: Whether the response will be signed or not
433
427
:return: Keyword arguments which can be used to send the response
434
428
what's returned follow different patterns for different bindings.
435
- If the binding is BINDIND_SOAP, what is returned looks like this:
436
- {
437
- "data": <the SOAP enveloped response>
438
- "url": "",
439
- 'headers': [('content-type', 'application/soap+xml')]
440
- 'method': "POST
441
- }
429
+ If the binding is BINDIND_SOAP, what is returned looks like this::
430
+
431
+ {
432
+ "data": <the SOAP enveloped response>
433
+ "url": "",
434
+ 'headers': [('content-type', 'application/soap+xml')]
435
+ 'method': "POST
436
+ }
442
437
"""
443
438
logger .info ("logout request: %s" % request )
444
439
0 commit comments