Commit Graph

4 Commits

Author SHA1 Message Date
Rob Watson cf90100c5f Add CORS headers to HTTP handlers
continuous-integration/drone/push Build is passing Details
2022-01-26 19:27:57 +01:00
Rob Watson b0ccf17527 poc: legacy HTTP download for audio clips
continuous-integration/drone/push Build is passing Details
2022-01-10 21:35:31 +01:00
Rob Watson af0674eb11 Add POST /api/media_sets/:id/clip.
continuous-integration/drone Build is passing Details
This will allow for an HTTP/1.1 fallback for
MediaSetService.GetAudioSegment, enabling download of audio clips in
browsers that do not support the File System Access API.
2022-01-10 18:52:04 +01:00
Rob Watson c7d5541379 Refactor response handling.
- Add FileSystem implementation to handle HTTP index files but constrain
  directory listings
- Refactor server implementation into a dedicated handler struct
- Add test coverage
2022-01-10 18:45:10 +01:00