We need a few special type of requests for testing/debugging purposes on swarm:
- raw: returns the raw content at the given hash
- hash: returns the hash and not the content
- list: returns the list of all the files in the manifest under the given path
- immutable: skip ENS resolving, only accept hashes
We have different kind of possible solutions on how to differentiate the requests to implement these special request types. These potential solutions all have their pros and cons.