refs #5780 @0.5 small refactorings, check http method is now optionnal