Enabling the error handling in decode method.
Enabling the error handling in decode method.

Enabled python implementation of error handling for the decode method of
HttpRequest. It accepts the "errors" argument which can
take the values like 'strict', 'replace' and 'ignore' according to need.
'strict' is the default value.

Bug: T88928
Change-Id: I02609a5abcdf0e5e66bbb4ffdcc41aaf74d5c943

valhallasw/pywikibot-core,magul/pywikibot-core,happy5214/pywikibot-core,hasteur/g13bot_tools_new,Darkdadaah/pywikibot-core,hasteur/g13bot_tools_new,smalyshev/pywikibot-core,xZise/pywikibot-core,npdoty/pywikibot,h4ck3rm1k3/pywikibot-core,happy5214/pywikibot-core,wikimedia/pywikibot-core,trishnaguha/pywikibot-core,darthbhyrava/pywikibot-local,npdoty/pywikibot,Darkdadaah/pywikibot-core,TridevGuha/pywikibot-core,emijrp/pywikibot-core,PersianWikipedia/pywikibot-core,jayvdb/pywikibot-core,wikimedia/pywikibot-core,hasteur/g13bot_tools_new,magul/pywikibot-core,icyflame/batman,VcamX/pywikibot-core,h4ck3rm1k3/pywikibot-core,jayvdb/pywikibot-core