Some small fixes for the HTTP provider