defunkt/jquery-pjax — pull request #357 by bfrohs (2014-02-25 20:28:02+00:00)
Title: Send version request header

In order to avoid repeating an action via POST, I'd like to be able to check the `version` already registered for PJAX before processing anything, in order to end the request early, sending the new version via a response header.

This PR fixes the issue, but does result in a bit of duplication (`currentVersion` code is copied from `options.success()`).