Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/olix0r/hokay
A bare-bones HTTP/1 server
https://github.com/olix0r/hokay
Last synced: about 1 month ago
JSON representation
A bare-bones HTTP/1 server
- Host: GitHub
- URL: https://github.com/olix0r/hokay
- Owner: olix0r
- License: mit
- Created: 2022-04-22T15:21:26.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-03T20:01:12.000Z (over 1 year ago)
- Last Synced: 2024-09-17T12:08:34.689Z (about 2 months ago)
- Language: Rust
- Size: 21.5 KB
- Stars: 9
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hokay
A bare-bones HTTP/1 server that always returns `204 No content`.
This program aims to take minimal dependencies and is expected to be updated
infrequently.## Usage
```text
:; hokay
``````text
:; curl -v localhost:8080
* Trying ::1:8080...
* connect to ::1 port 8080 failed: Connection refused
* Trying 127.0.0.1:8080...
* Connected to localhost (127.0.0.1) port 8080 (#0)
> GET / HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/7.74.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 204 No Content
< server: hokay
< date: Fri, 22 Apr 2022 15:18:10 GMT
<
* Connection #0 to host localhost left intact
```## License
This program is distributed under the [MIT license](./LICENSE).