jacob1044 / pubsubhubbub

Automatically exported from code.google.com/p/pubsubhubbub
Other
1 stars 0 forks source link

Protocol: New Content Notification query string parameters #142

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
SUMMARY:

I tried sending a new content notification request with an empty BODY and 
passing hub.mode and hub.url parameters in the query string and received 204 No 
Content response. In spec it is written that parameters should be provided in 
the request BODY. Please add a note that query string parameters are also 
acceptable.

RELEVANT SECTION:  7.1.  New Content Notification

COMMENT/REQUEST:

Many small websites are hosted at Github pages including mine. There one can 
set a WebHook that sends POST request with query string parameters whenever a 
website is updated. Unfortunately, as of now, one cannot modify WebHook 
Request's BODY content, so the most efficient way to push new content 
notification is to send request with query string parameters.
In my opinion the fact that PSHB accepts query string parameters is OK and 
shouldn't be changed for the sake of better compatibility. But the spec should 
be fixed.

Original issue reported on code.google.com by cont...@sergeylukin.com on 19 Aug 2012 at 12:57