Coda Hale
0b12f5954e
Change requestId to requestID.
12 years ago
Coda Hale
c912dac2b6
Included documented names in documentation.
12 years ago
Carl Jackson
aca58b22cf
Make ValidMethodsKey public
12 years ago
Carl Jackson
386323a6ed
HTTP method names are case sensitive
Who knew! (RFC 2616, 5.1.1)
12 years ago
Carl Jackson
05e53fc481
fancyWriters should also implement io.ReaderFrom
For sendfile(2) support. I should really DRY up the implementations here...
12 years ago
Carl Jackson
fb3ce04ee4
Add OPTIONS to the list of allowed methods
12 years ago
Carl Jackson
232a1ca725
Replace terminal dependency with hand-waving
In order to avoid a dependency on the go.crypto terminal package, let's try to
do our own TTY sniffing. I think in practice this will work surprisingly well,
even if it feels incredibly sketchy.
12 years ago
Carl Jackson
9e5ef71c04
Automatic OPTIONS middleware
12 years ago
Carl Jackson
66431cbd3b
Move writer proxy to a separate file
12 years ago
Carl Jackson
f9808345b9
Standard middlewares
I've currently written three:
- Request ID generation
- Request logging, with color (!)
- Recovery from panics
12 years ago