refactor(hyper): Update to rust-url 1.0
BREAKING CHANGE: The re-exported Url type has breaking changes.
This commit is contained in:
		
				
					committed by
					
						 Sean McArthur
						Sean McArthur
					
				
			
			
				
	
			
			
			
						parent
						
							4bdf52a482
						
					
				
				
					commit
					8fa7a98968
				
			| @@ -56,7 +56,7 @@ impl FromStr for RequestUri { | ||||
|     fn from_str(s: &str) -> Result<RequestUri, Error> { | ||||
|         let bytes = s.as_bytes(); | ||||
|         if bytes == [] { | ||||
|             Err(Error::Uri(UrlError::InvalidCharacter)) | ||||
|             Err(Error::Uri(UrlError::RelativeUrlWithoutBase)) | ||||
|         } else if bytes == b"*" { | ||||
|             Ok(RequestUri::Star) | ||||
|         } else if bytes.starts_with(b"/") { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user