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

https://github.com/ryleeharrison/simple-fast-dynamic-http-server

Dynamic HTTP server that automatically handles URL to local resource path and content-type headers
https://github.com/ryleeharrison/simple-fast-dynamic-http-server

dynamic dynamic-handlers dynamic-http dynamic-http-server http node-http node-http-server

Last synced: about 1 month ago
JSON representation

Dynamic HTTP server that automatically handles URL to local resource path and content-type headers

Awesome Lists containing this project

README

        

# Simple Fast Dynamic HTTP Server

Dynamic HTTP server that automatically handles URL to local resource path and content-type headers

## Current Features
- Dynamically composes a response that automatically handles:
- Request URL local directory path. (ex. "http://exampe.com/fag.html" -> "./fag.html")

- Polymorphic Content-Type header.
- reduces resource extension. (ex. "http://exampe.com/style.css" -> "text/css")

## Quick start

Clone and run

```sh
git clone https://github.com/RyleeHarrison/simple-fast-dynamic-http-server
cd simple-fast-dynamic-http-server
yarn start # or npm run start
```