We used to patch http.py using a diff. This was really not practical because every time the file was modified, the diff had to be recreated. We now override the specific methods directly. closes odoo/odoo#60366 X-original-commit: a6012f03ff02f04a3d128e33326f932fd22f0ced Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com> Signed-off-by: Antoine Prieëls <aprieels@users.noreply.github.com>