So far piwik.js treated only 200/OK responses for POST track requests, as success.
This patch loosens POST track request success interpretation to responses with any 2xx status code.
FYI: As some integration tests fail this is my fault... :)
OK, thanks @tsteur for heads up. JS tests passed. Unfortunatelly, I wasn't able to add tests for this change - seems hard to test something like this. Any tips and/or tests are welcome.
looks good to me https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#2xx_Success