Replace assertRaises with assertRaisesRegex in http_tests.py
Replace assertRaises with assertRaisesRegex in http_tests.py

Bug: T154281
Change-Id: I87707d58bab07886e8b35cb1030563df841c9844

npdoty/pywikibot,hasteur/g13bot_tools_new,magul/pywikibot-core,Darkdadaah/pywikibot-core,happy5214/pywikibot-core,jayvdb/pywikibot-core,PersianWikipedia/pywikibot-core,npdoty/pywikibot,wikimedia/pywikibot-core,Darkdadaah/pywikibot-core,wikimedia/pywikibot-core,hasteur/g13bot_tools_new,magul/pywikibot-core,hasteur/g13bot_tools_new,happy5214/pywikibot-core,jayvdb/pywikibot-core