forked from Archives/Athou_commafeed
small tweak to pubsubhubbub
This commit is contained in:
@@ -59,6 +59,8 @@ public class SubscriptionHandler {
|
||||
|
||||
HttpClient client = HttpGetter.newClient();
|
||||
try {
|
||||
// make sure the feed push infos have been updated to the database
|
||||
Thread.sleep(1000);
|
||||
post.setEntity(new UrlEncodedFormEntity(nvp));
|
||||
HttpResponse response = client.execute(post);
|
||||
|
||||
|
||||
@@ -79,7 +79,6 @@ public class PubSubHubbubCallbackREST {
|
||||
@POST
|
||||
@Consumes({ MediaType.APPLICATION_ATOM_XML, "application/rss+xml" })
|
||||
public Response callback() {
|
||||
log.info("content callback received");
|
||||
try {
|
||||
byte[] bytes = IOUtils.toByteArray(request.getInputStream());
|
||||
FetchedFeed fetchedFeed = parser.parse(null, bytes);
|
||||
|
||||
Reference in New Issue
Block a user