Bad Request

<function WebsiteScrapy.get_sitemap at 0x7f936517ac10>, /sitemap: Function declared as capable of handling request of type 'json' but called with a request of type 'http'