mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
Stop panicking when trying to load ftp URLs.
This commit is contained in:
parent
634a3989ad
commit
479cf1ef23
1 changed files with 2 additions and 2 deletions
|
@ -492,8 +492,8 @@ fn basic_fetch<UI: 'static + UIProvider>(request: Rc<Request>,
|
|||
},
|
||||
|
||||
"ftp" => {
|
||||
// XXXManishearth handle these
|
||||
panic!("Unimplemented scheme for Fetch")
|
||||
debug!("ftp is not implemented");
|
||||
Response::network_error(NetworkError::Internal("Unexpected scheme".into()))
|
||||
},
|
||||
|
||||
_ => Response::network_error(NetworkError::Internal("Unexpected scheme".into()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue