GSoC Blog Post #3

Published: 07/13/2021

Hello All!

The first evaluation week is here and till now GSoC program has been challenging as well as exciting for me. With the persistent support of my mentors, I am able to complete the implementation of the MIME sniffing library and I hope that I will pass the first evaluation towards the end of this week:)

What did you do this week?

Last week I have finalized the implementation of the MIME Standards till section 7 with proper development as well as testing. I am able to achieve 100% code coverage uptil now through "pytest" and "pytest-cov" and the code has been merged to the main branch of the repo on Github. Thanks to my mentors!

What is coming up next?

This week or coming weeks, I will try to integrate my library into the Scrapy framework so that it will resolve the issue "Wrong type(response) for binary responses #4240" from where the main problem originated.

Did you get stuck anywhere?

Deciding an input type for Content-Type parameter in the main function of the library was a little confusing. There were two option, First, we allow users to input a byte type string or a simple string and Second, we restrict users to only input byte type string. After discussion with mentors, we choose the second option which was much easier to implement as well as understandable to the users. Else this week went quite smoothly except for some minor problems with the testing.