We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 07a7a67 + 5645442 commit 76d2c61Copy full SHA for 76d2c61
src/redfish/rest/v1.py
@@ -288,6 +288,8 @@ def session_location(self):
288
"""Property for accessing the saved session location"""
289
if self._session_location:
290
return self._session_location
291
+ if self.status not in [200, 201, 202, 204]:
292
+ return None
293
294
self._session_location = self.getheader('location')
295
if self._session_location is None:
0 commit comments