lilleyt/spree — pull request #1 by lilleyt (2012-06-11 16:19:42+00:00)
Title: Add .js extension to request for States controller's javascript in spree...

.../checkout/edit view

Fixes issue where some clients (or proxies) can cause Rails to infer the response type from the format of the URL rather than the Accept header (malformed headers?). Since unqualified URLs default to HTML, the States controller issues a 406 Not Acceptable error since it can only respond to :js.