Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb59b7bd

Browse files
author
Liora Milbaum
authored
refactor: add reason property to RequestsResponse (#2439)
1 parent3e1c625 commitb59b7bd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎gitlab/http_backends/requests_backend.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ def headers(self) -> CaseInsensitiveDict[str]:
2727
defcontent(self)->bytes:
2828
returnself._response.content
2929

30+
@property
31+
defreason(self)->str:
32+
returnself._response.reason
33+
3034
defjson(self)->Any:
3135
returnself._response.json()
3236

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp