mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Upgrade to rustc 1.21.0-nightly (13d94d5fa 2017-08-10)
This commit is contained in:
parent
41fb10c589
commit
b5a4b8d6a0
40 changed files with 73 additions and 79 deletions
|
@ -627,7 +627,7 @@ impl XMLHttpRequestMethods for XMLHttpRequest {
|
|||
|
||||
if !content_type_set {
|
||||
let ct = request.headers.get_mut::<ContentType>();
|
||||
if let Some(mut ct) = ct {
|
||||
if let Some(ct) = ct {
|
||||
if let Some(encoding) = encoding {
|
||||
for param in &mut (ct.0).2 {
|
||||
if param.0 == MimeAttr::Charset {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue