Skip to content

Commit 576317a

Browse files
author
Roland Hedberg
committed
form_post are suppost to use POST not GET.
1 parent 4fc5e48 commit 576317a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/saml2/entity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ def apply_binding(self, binding, msg_str, destination="", relay_state="",
224224
info = self.use_http_form_post(msg_str, destination,
225225
relay_state, typ)
226226
info["url"] = destination
227-
info["method"] = "GET"
227+
info["method"] = "POST"
228228
elif binding == BINDING_HTTP_REDIRECT:
229229
logger.info("HTTP REDIRECT")
230230
info = self.use_http_get(msg_str, destination, relay_state, typ,

0 commit comments

Comments
 (0)