Skip to content

Commit d55b9fd

Browse files
author
Roland Hedberg
committed
set-cookie parameter might be missing.
1 parent 1225656 commit d55b9fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/saml2/httpbase.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,8 @@ def send(self, url, method="GET", **kwargs):
212212
self.set_cookie(SimpleCookie(r.headers["set-cookie"]), r)
213213
except AttributeError:
214214
pass
215+
except KeyError:
216+
pass
215217

216218
return r
217219

0 commit comments

Comments
 (0)