Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upfixes 4184: no-sniff and check-for-apache-bug for mime sniffing #6171
Conversation
highfive
commented
May 24, 2015
|
Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @Ms2ger (or someone else) soon. |
hoppipolla-critic-bot
commented
May 24, 2015
|
Critic review: https://critic.hoppipolla.co.uk/r/5090 This is an external review system which you may optionally use for the code review of your pull request. In order to help critic track your changes, please do not make in-place history rewrites (e.g. via |
|
|
||
| if let Some(ref headers) = metadata.headers { | ||
| if let Some(ref raw_content_type) = headers.get_raw("content-type") { | ||
| let ref last_raw_content_type = raw_content_type[raw_content_type.len() - 1]; |
This comment has been minimized.
This comment has been minimized.
|
Review status: all files reviewed, 3 unresolved discussions, all commit checks successful.
components/net/resource_task.rs, line 113 [r1] (raw file): components/net/resource_task.rs, line 115 [r1] (raw file): Comments from the review on Reviewable.io |
|
Filed web-platform-tests/wpt#1851 for the tests |
|
In terms of automated tests, there's the |
|
I updated the PR, I tested the code manually(both flags are set correctly). According to the discussion above there are things that needs to be done before enabling automatic testing, so I didn't do anything about this. |
|
Review status:
Comments from the review on Reviewable.io |
|
@bors-servo: r+ thanks! |
|
|
I tried fixing #4184 , here is the code I have right now. I haven't tested it, because I don't know what is the best way to test this part of code. Would like some help with testing this. Should I write an autotest or should I just test manually? <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6171) <!-- Reviewable:end -->
eleweek commentedMay 24, 2015
I tried fixing #4184 , here is the code I have right now.
I haven't tested it, because I don't know what is the best way to test this part of code. Would like some help with testing this. Should I write an autotest or should I just test manually?