Parse based on iterators instead of &str slices.
91ee651
The test changes correspond to bugs in rust-url before this change: the value of pathname/search/hash setters does go through the URL parser (though with a state override), which includes removing trailing and leading controls and spaces.