Closed mpeck closed 11 years ago
Some missing validation notwithstanding (could be addressed in a future patch), this looks good to go. Also, I think at least one test will fail.
@jkeiser I refactored the validation a bit. It was a bit lax. Which test are you thinking will fail. I'm currently getting several failures, but thats on master of both pushy server and oc-pushy-pedant.
I was thinking the test with 0 nodes will fail (since you disallow that now :)
It does fail; we pulled it from the end-to-end tests and specifically test that case in the invalid POST body tests.
Some error checking has already been done in previous work. This should top the rest off.