mirror of
https://github.com/servo/servo.git
synced 2025-06-21 15:49:04 +01:00
Extract content type and character set from HTTP response headers
We don't use this information anywhere, yet.
This commit is contained in:
parent
ec2111edbf
commit
f73e48b32f
3 changed files with 29 additions and 3 deletions
|
@ -336,6 +336,8 @@ pub fn parse_html(cx: *JSContext,
|
|||
resource_task.send(Load(url.clone(), input_chan));
|
||||
let load_response = input_port.recv();
|
||||
|
||||
debug!("Fetched page; metadata is %?", load_response.metadata);
|
||||
|
||||
let url2 = load_response.metadata.final_url.clone();
|
||||
let url3 = url2.clone();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue