Tectu / malloy

A cross-platform C++20 library providing embeddable server & client components for HTTP and WebSocket.
BSD 3-Clause "New" or "Revised" License
66 stars 8 forks source link

HTTP file endpoint body type #58

Closed Tectu closed 3 years ago

Tectu commented 3 years ago

server::endponit_http_files is currently returning a string body: https://github.com/Tectu/malloy/blob/9556534eb742e856e5c4ac7c8d3fb8b100b4d5f1/lib/malloy/server/routing/endpoint_http_files.hpp#L39

This should probably be a file body instead.

Tectu commented 3 years ago

never mind.