mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
some hubs return 200
This commit is contained in:
@@ -61,7 +61,7 @@ public class SubscriptionHandler {
|
||||
HttpResponse response = client.execute(post);
|
||||
|
||||
int code = response.getStatusLine().getStatusCode();
|
||||
if (code != 204 && code != 202) {
|
||||
if (code != 204 && code != 202 && code != 200) {
|
||||
throw new Exception("Unexpected response code: " + code + " "
|
||||
+ response.getStatusLine().getReasonPhrase());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user