[enh] https rewrite basics