jquery-pjax icon indicating copy to clipboard operation
jquery-pjax copied to clipboard

Send version request header

Open 0b10011 opened this issue 10 years ago • 1 comments

In order to avoid wasting server resources, 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()).

0b10011 avatar Feb 25 '14 20:02 0b10011