Rolled back on form_post vs post
This commit is contained in:
parent
ad8e8cb1ee
commit
0111b9bf1e
@ -215,16 +215,16 @@ class Entity(HTTPBase):
|
|||||||
|
|
||||||
if binding == BINDING_HTTP_POST:
|
if binding == BINDING_HTTP_POST:
|
||||||
logger.info("HTTP POST")
|
logger.info("HTTP POST")
|
||||||
if self.entity_type == 'sp':
|
# if self.entity_type == 'sp':
|
||||||
info = self.use_http_post(msg_str, destination, relay_state,
|
# info = self.use_http_post(msg_str, destination, relay_state,
|
||||||
typ)
|
# typ)
|
||||||
info["url"] = destination
|
# info["url"] = destination
|
||||||
info["method"] = "POST"
|
# info["method"] = "POST"
|
||||||
else:
|
# else:
|
||||||
info = self.use_http_form_post(msg_str, destination,
|
info = self.use_http_form_post(msg_str, destination,
|
||||||
relay_state, typ)
|
relay_state, typ)
|
||||||
info["url"] = destination
|
info["url"] = destination
|
||||||
info["method"] = "GET"
|
info["method"] = "GET"
|
||||||
elif binding == BINDING_HTTP_REDIRECT:
|
elif binding == BINDING_HTTP_REDIRECT:
|
||||||
logger.info("HTTP REDIRECT")
|
logger.info("HTTP REDIRECT")
|
||||||
info = self.use_http_get(msg_str, destination, relay_state, typ,
|
info = self.use_http_get(msg_str, destination, relay_state, typ,
|
||||||
|
Loading…
Reference in New Issue
Block a user