2 ms·
> You can move them around, read to them, write to them, execute them... That functionality depends entirely on the file system and the file in question, as mu
by boomlinde 13y ago
> You can move them around, read to them, write to them, execute them...
That functionality depends entirely on the file system and the file in question, as much as the operations available on an HTTP resource depends on the verbs that the resource implements and how it implements them.
Also, a file system will typically not execute your files. Nothing stops you from executing an HTTP resource in the same manner. Say,
<script type="text/javascript.js" src="bla/bla.js">
or
curl http://bla.com/bla.sh | bash
> Now think about what the browser runtime can do with "files"
Using the standard HTTP verbs, you can read, write, create and delete resources.