Closed matryer closed 11 years ago
It sort of does, but it only examines the content type header, not the accept header from the client.
We could add content negotiation to codecs, I suppose?
It's already in the codecs package.
Now it's in Goweb too.
Mat
On 5 Jun 2013, at 21:32, Tyler notifications@github.com wrote:
It sort of does, but it only examines the content type header, not the accept header from the client.
We could add content negotiation to codecs, I suppose?
— Reply to this email directly or view it on GitHub.
Currently JSON is hard coded into Goweb... but the http://github.com/stretchrcom/codecs package supports a content negotiation system, so we should use that.