Resp code should be 202 and not 204.

This commit is contained in:
FireMasterK 2021-07-22 15:29:59 +05:30
parent 6641ddc043
commit 8c6ada2acf
No known key found for this signature in database
GPG Key ID: 49451E4482CC5BCD

View File

@ -980,7 +980,7 @@ public class ResponseHelper {
HttpResponse<InputStream> resp = Constants.h2client.send(builder.build(), BodyHandlers.ofInputStream());
if (resp.statusCode() == 204) {
if (resp.statusCode() == 202) {
if (pubsub == null)
pubsub = new PubSub(channelId, System.currentTimeMillis());
else