thybag / PJAX-Standalone

A standalone implementation of Pushstate AJAX, for non-jquery webpages.
203 stars 42 forks source link

Option to allow 404 responses #35

Open jameswragg opened 9 years ago

jameswragg commented 9 years ago

If page is a 404 currently pjax-standalone treats the request as an error & doesn't complete. I'm not convinced this is correct behaviour as there may be SEO reasons that the 404 may be served, but there may be valid page content that should be displayed.

How about an option that allows 404 responses?