Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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).