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.
1 parent 475c67f commit fb1226fCopy full SHA for fb1226f
sdk/diffgram/core/core.py
@@ -20,6 +20,7 @@
20
21
class Project():
22
default_directory: Directory
23
+ last_response_header: None
24
25
def __init__(
26
self,
@@ -225,6 +226,9 @@ def handle_errors(self,
225
226
after this, and that fails in poor way if there is no json available.
227
"""
228
229
+ if response.headers:
230
+ self.last_response_header = response.headers
231
+
232
# Default
233
if response.status_code == 200:
234
return
0 commit comments