code in `scrapy/xlib/` is from other vendors, it is copied as-is to support new features in older versions and we don't modify it unless really necessary.