switched custom HTTPMethod type for the ones in HTTP.Types