I don't know, i just copied the condition that was used in 'dropEvent'.
Anyway, i am not sure https would be fine, we may have authentication issues...