mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
parent
61fe737885
commit
a97ba4f57d
7 changed files with 3 additions and 35 deletions
|
@ -340,7 +340,7 @@ impl FetchResponseListener for EventSourceContext {
|
|||
None => self.fail_the_connection(),
|
||||
Some(ct) => match ct.into_inner().0 {
|
||||
Mime(TopLevel::Text, SubLevel::EventStream, _) => {
|
||||
self.origin = meta.final_url.origin().unicode_serialization();
|
||||
self.origin = meta.final_url.origin().ascii_serialization();
|
||||
self.announce_the_connection();
|
||||
},
|
||||
_ => self.fail_the_connection(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue