On Jan 27, 1:29 pm, stoyan <[email protected]> wrote:
> On Jan 23, 8:28 pm, Julien <[email protected]> wrote:
>
> > it's on githubhttp://github.com/superfeedr/pubsubhubbub_hub_testsuite

One more fix - section 7.4 tests (SHA signature, based on
'hub.secret') - line 107 in hub_publisher_must_spec.rb :
the 'X-Hub-Signature' header need to be 'sha1=signature', something
like:

signature = HMAC::SHA1.hexdigest(secret, 'the-content')
request.headers['X-Hub-Signature'].should == "sha1=#{signature}"

Reply via email to