silkapp / rest

Packages for defining APIs, running them, generating client code and documentation.
http://silkapp.github.io/rest
390 stars 52 forks source link

Rest-gen: Use content-type in the client to decide if the response is… #135

Closed jumi99 closed 9 years ago

jumi99 commented 9 years ago

… json in a node request.

Before this, we used the sent accept header from the client. This also allows sending an empty accept header.

bergmark commented 9 years ago

released in rest-gen-0.17..1.1