Similar to the Python serve-a-single-directory trick, v. pleased to be able to make use of this the other day:

{ echo -ne "HTTP/1.0 200 OK\r\nContent-Length: $(wc -c <some.file)\r\n\r\n"; cat some.file; } | nc -l -p 8080

(source)