simple smolweb protocol
|
|
||
|---|---|---|
| client | chore: initial commit | |
| serve | fix: error handling and path to serve | |
| .gitignore | fix: error handling and path to serve | |
| go.mod | chore: initial commit | |
| LICENSE | chore: initial commit | |
| main.go | fix: error handling and path to serve | |
| README.md | fix: typo on readme | |
tip protocol
a simple tcp/ip protocol, focused on simplicity. something in between nex and spartan. but with no virtual hosting, and no domains in general.
*this is just a hobby project, and is still in development.
spec
- port: :1979
- scheme: tip://
- encoding: utf-8
- tls: none
url scheme
scheme + ip+port + path
no domains.
requests
ip:port path
responses
code\ncontent
status code
- 0 -> success
- 1 -> redirect
- 2 -> error
todo
- mimetypes
- redirects