robertzk / microserver

Minimal R server
MIT License
7 stars 2 forks source link

Use application/json over text/json. #21

Closed robertzk closed 8 years ago

kirillseva commented 8 years ago

What's the motivation? LGTM on code

alexbenison commented 8 years ago

@kirillseva Returning the correct MIME type here actually causes httr to return a dataframe instead of a json string when you make requests with it.

kirillseva commented 8 years ago

gotcha. Nice! all hail jsonlite