Skip to content

Commit 01c04c5

Browse files
author
Zhang Qiang
committed
support status code 204
1 parent bcfb05a commit 01c04c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redminelib/engines/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def process_response(response, return_raw=False):
140140

141141
status_code = response.status_code
142142

143-
if status_code in (200, 201):
143+
if status_code in (200, 201, 204):
144144
if return_raw:
145145
return response
146146
elif not response.content.strip():

0 commit comments

Comments
 (0)