[IMP] web: return file content for url attachments
[IMP] web: return file content for url attachments

URL attachments are now returned as data and not redirection.
If the url does not match with a module file, the 301 status
(redirection) is still returned.

This allows to use the /web/image/<xmlid>/<dimension> route
and get an image attachment with correct dimensions.

storm-computers/odoo,sysadminmatmoz/OCB,sysadminmatmoz/OCB,ygol/odoo,microcom/odoo,sysadminmatmoz/OCB,optima-ict/odoo,laslabs/odoo,ygol/odoo,dfang/odoo,Elico-Corp/odoo_OCB,bplancher/odoo,storm-computers/odoo,stephen144/odoo,stephen144/odoo,Elico-Corp/odoo_OCB,dfang/odoo,optima-ict/odoo,Elico-Corp/odoo_OCB,microcom/odoo,optima-ict/odoo,Elico-Corp/odoo_OCB,hip-odoo/odoo,storm-computers/odoo,optima-ict/odoo,microcom/odoo,laslabs/odoo,storm-computers/odoo,ygol/odoo,bplancher/odoo,microcom/odoo,hip-odoo/odoo,hip-odoo/odoo,bplancher/odoo,Elico-Corp/odoo_OCB,bplancher/odoo,optima-ict/odoo,hip-odoo/odoo,ygol/odoo,laslabs/odoo,microcom/odoo,laslabs/odoo,optima-ict/odoo,microcom/odoo,dfang/odoo,bplancher/odoo,hip-odoo/odoo,stephen144/odoo,sysadminmatmoz/OCB,laslabs/odoo,storm-computers/odoo,ygol/odoo,stephen144/odoo,ygol/odoo,storm-computers/odoo,ygol/odoo,dfang/odoo,sysadminmatmoz/OCB,Elico-Corp/odoo_OCB,dfang/odoo,dfang/odoo,laslabs/odoo,sysadminmatmoz/OCB,hip-odoo/odoo,sysadminmatmoz/OCB,stephen144/odoo,stephen144/odoo,bplancher/odoo