igor-alexandrov / wiselinks

If Turbolinks are not enough for you. Wiselinks makes your application work faster.
MIT License
724 stars 89 forks source link

Does wiselinks unprocessable entity? #77

Open wkrsz opened 10 years ago

wkrsz commented 10 years ago

How does wiselinks handle responses with "unprocessable entity" with body?

In my app I'm responding to invalid data in forms with status 422 and full form in the body with fields higlighted and error messages below. By default pjax ignores this body so I'm arm-twisting it to replace body just like with success responses (https://coderwall.com/p/xfjopa).

Does wiselinks handle this out of the box?