package io.weba.eventor.domain.http;

public class Response {
    public final int statusCode;
    public final Headers headers;

    public Response(int statusCode, Headers headers) {
        this.statusCode = statusCode;
        this.headers = headers;
    }

    public boolean isSuccessfulStatusCode() {
        return statusCode == 200;
    }
}

@@ -333,16 +333,37 @@
 e == 200
+ %7C%7C statusCode == 204
 ;%0A    %7D%0A

allow 204 response