Skip to content

Commit cca8b09

Browse files
authored
Merge pull request #221 from tobexyz/feat/issue219
fix: process http 503 correctly issue #219
2 parents 4c6824e + 6e5d743 commit cca8b09

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

yaacc/src/main/java/org/fourthline/cling/model/message/UpnpResponse.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ public static enum Status {
3131
PRECONDITION_FAILED(412, "Precondition Failed"),
3232
UNSUPPORTED_MEDIA_TYPE(415, "Unsupported Media Type"),
3333
INTERNAL_SERVER_ERROR(500, "Internal Server Error"),
34-
NOT_IMPLEMENTED(501, "Not Implemented");
34+
NOT_IMPLEMENTED(501, "Not Implemented"),
35+
SERVICE_UNAVAILABLE(503, "Service Unavailable");
3536

3637
private int statusCode;
3738
private String statusMsg;

0 commit comments

Comments
 (0)