Fix bug were a multi-segment URL isn't handled properly on GET or POST. Add tests for this case to the POST integration tests.