Austin's Portfolio

Dispatch № 07 · http-server

HTTP Server

HTTP/1.1 server in pure Java

GitHub

A lightweight HTTP/1.1 server written in pure Java with no web framework, built to understand the protocol from the socket up.

By the numbers

Why

Most web work happens several abstraction layers above the wire. I built this to peel those back: to handle a TCP connection, parse a raw request, and write a correct response by hand.

What it does

It opens a TCP socket, parses incoming HTTP/1.1 requests, routes them, handles GET and POST, and serves static files, composing status lines, headers, and bodies with correct CRLF framing.

Stack

Pure Java 23 with zero runtime dependencies, built with Maven. The entry point is a single threaded accept loop, kept deliberately minimal so the protocol stays visible.

All projects Résumé