Fixes to http