diaspora/diaspora — pull request #3402 by Raven24 (2012-06-18 13:30:11+00:00)
Title: tell jQuery not to expect html when deleting photos in the publisher

This *might* fix the problem on travis with the `features/posts_from_main_page.feature`.

The requests to delete a photo from the publisher per default set the http-accept header to html, which returns a redirect when finished.
With the accept-header set to json, simply a success status code is returned and the weird cuke failure should not occur anymore.

manually it worked, running cukes locally, now - let's see what travis thinks...