Closed bruth closed 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.
Another is new-line delimited JSON for streaming records as they are fetched.
application/json; boundary=NL
and application/x-ldjson
text/csv
application/vnd.go+gob
This applies to the request and response bodies, drive by
Content-Type
andAccept
respectively.