alphagov/router — pull request #32 by dcarley (2013-10-16 08:15:22+00:00)
Title: Set Allow header for 405 responses

The HTTP spec says this is a MUST:

http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.7

Also swap `http.Error()` for the shorter-hand `w.WriteHeader()`, with a spec
assertion that we're returning the correct status reason.