ptpb / pb

pb is a formerly-lightweight pastebin and url shortener
Other
549 stars 52 forks source link

allow plaintext namespace requests #144

Closed buhman closed 5 years ago

buhman commented 8 years ago

If #143 is implemented, requiring a x509 keypair in addition to DNS configuration would make the barrier to using namespaces quite high.

I could refactor the url routing to allow namespace routes when X-Namespace-Auth is present instead of the current host != default_namespace behavior, so you'd do your POST on ptpb.pw over https, and GET on the namespace over http.