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 upImplement MIME sniffing #3144
Implement MIME sniffing #3144
Comments
|
This may be worked on by NCSU students; any other interested parties please contact me before attempting to start this work. |
|
Background information: When an HTTP resource declares the type of its content (using the Initial step: Build Servo. Learn about tasks in Rust, then spawn a new sniffer task in the Steps:
|
|
Are tasks cheap enough? Rust economics have shifted enough since the lots-of-tasks-in-Servo era that I wonder. Sorry if this is off-target as a drive-by question. /be |
|
Tasks are the easiest mechanism at this point. It's not a big deal to fix up later, and it sounds like we may be bringing back green tasks for Servo in the future. |
|
Hello Jon Sir, my name is Kavit and I am an NCSU student, I got this topic as my OSS project and I would like to know more about it... |
|
@Kavit900 Are you one of Kshitij, David, or Vineela? In any case, could you be more specific about what information you're looking for? |
|
jdm, I am not one of them , I am still in waitlist for this project , so as soon as it gets confirmed I will contact you. Thank you for your early reply.... |
Issue: #3144 We created a sniffer task in components/net/, added a call in resource_task load function to create a new sniffer task (sending all the data), and sniffer_task currently sends all the data back to resource_task. The purpose of this request is to get feedback from @jdm on our progress before moving forward and writing tests.
Issue: #3144 We created a sniffer task in components/net/, added a call in resource_task load function to create a new sniffer task (sending all the data), and sniffer_task currently sends all the data back to resource_task. The purpose of this request is to get feedback from @jdm on our progress before moving forward and writing tests.
Issue: #3144 We created a sniffer task in components/net/, added a call in resource_task load function to create a new sniffer task (sending all the data), and sniffer_task currently sends all the data back to resource_task. The purpose of this request is to get feedback from @jdm on our progress before moving forward and writing tests.
Issue: #3144 We created a sniffer task in components/net/, added a call in resource_task load function to create a new sniffer task (sending all the data), and sniffer_task currently sends all the data back to resource_task. The purpose of this request is to get feedback from @jdm on our progress before moving forward and writing tests.
Issue: #3144 We created a sniffer task in components/net/, added a call in resource_task load function to create a new sniffer task (sending all the data), and sniffer_task currently sends all the data back to resource_task. The purpose of this request is to get feedback from @jdm on our progress before moving forward and writing tests.
We should be able to sniff the MIME type for
file:///URLs and perhaps pages that do not provide aContent-Typeheader.The specification for guessing MIME types is here.
This would benefit #3131 too.