diff options
author | Roland Hedberg <roland.hedberg@adm.umu.se> | 2015-11-16 11:14:47 +0100 |
---|---|---|
committer | Roland Hedberg <roland.hedberg@adm.umu.se> | 2015-11-16 11:14:47 +0100 |
commit | 0111b9bf1e3e029fe0a60da24dc6bf22e2059772 (patch) | |
tree | 860d00a157bf5f5348cd8d496c8979fcb4363bca /src/saml2/entity.py | |
parent | ad8e8cb1eefdc8d90f4d53851634ce08b5bca9a8 (diff) | |
download | pysaml2-0111b9bf1e3e029fe0a60da24dc6bf22e2059772.tar.gz |
Rolled back on form_post vs post
Diffstat (limited to 'src/saml2/entity.py')
-rw-r--r-- | src/saml2/entity.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/saml2/entity.py b/src/saml2/entity.py index 84f31003..78ac3f14 100644 --- a/src/saml2/entity.py +++ b/src/saml2/entity.py @@ -215,16 +215,16 @@ class Entity(HTTPBase): if binding == BINDING_HTTP_POST: logger.info("HTTP POST") - if self.entity_type == 'sp': - info = self.use_http_post(msg_str, destination, relay_state, - typ) - info["url"] = destination - info["method"] = "POST" - else: - info = self.use_http_form_post(msg_str, destination, - relay_state, typ) - info["url"] = destination - info["method"] = "GET" + # if self.entity_type == 'sp': + # info = self.use_http_post(msg_str, destination, relay_state, + # typ) + # info["url"] = destination + # info["method"] = "POST" + # else: + info = self.use_http_form_post(msg_str, destination, + relay_state, typ) + info["url"] = destination + info["method"] = "GET" elif binding == BINDING_HTTP_REDIRECT: logger.info("HTTP REDIRECT") info = self.use_http_get(msg_str, destination, relay_state, typ, |