Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/redfish/rest/v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,8 @@ def session_location(self):
"""Property for accessing the saved session location"""
if self._session_location:
return self._session_location
if self.status not in [200, 201, 202, 204]:
return None

self._session_location = self.getheader('location')
if self._session_location is None:
Expand Down