Instead of printing the Allowed methods, this needs to set the Allow header of the response. From the spec:

"The response MUST include an Allow header containing a list of valid methods for the requested resource."

We need to return the list of allowed methods in the context and then read it back in the not found handler.