chop-dbhi / sql-agent

HTTP interface for executing ad-hoc SQL queries.
BSD 2-Clause "Simplified" License
93 stars 23 forks source link

Add support for other encodings in HTTP interface #1

Closed bruth closed 9 years ago

bruth commented 9 years ago

This applies to the request and response bodies, drive by Content-Type and Accept respectively.

bruth commented 9 years ago

The motivation for this is to facilitate simpler (CSV) and richer formats (gob). Gob encoding may be used between Go processes, while a CSV format enables streaming the results as they come in.

bruth commented 9 years ago

Another is new-line delimited JSON for streaming records as they are fetched.