by derekzhouzhen · 4y ago · 0 comments
So I can curl it in a script?
curl https://... | sh
would be valuable.
* You should support HTTP HEAD request
* You should infer MIME type from language selections and set Content-Type header as much as possible. If there is none, the default shall be text/plain not text/html
* You should set `Content-Security-Policy: sandbox` HTTP header so people cannot use your service to do malicious stuff
* You should set `Access-Control-Allow-Origin: *` so it can be used in pure client-side JAMStack applications