This will be done by adding new, optional type argument to api.captcha.new():
>>> captcha = api.captcha.new(type="image/jpeg")
or
>>> captcha = api.captcha.new(type="audio/mpeg")
Currently that will be only two supported types, and type argument will default to "image/jpeg". Also this change requires additional argument in api.registrations.register() call, captcha_type defaulting to the same as type ("image/jpeg").
This will be done by adding new, optional type argument to api.captcha.new():
>>> captcha = api.captcha. new(type= "image/ jpeg")
or
>>> captcha = api.captcha. new(type= "audio/ mpeg")
Currently that will be only two supported types, and type argument will default to "image/jpeg". Also this change requires additional argument in api.registratio ns.register( ) call, captcha_type defaulting to the same as type ("image/jpeg").