all repos — litestore @ 6ab8223bba2b956f031974534d965de93e443f3a

A minimalist nosql document store.

Missing HTTP status in certain OPTIONS requests. (fixes #53)
Cevasco, Fabio fabio.cevasco@siemens.com
Tue, 22 Oct 2019 16:02:50 +0200
commit

6ab8223bba2b956f031974534d965de93e443f3a

parent

fd1133db94cb87adf77962efa4467692ebd5666c

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/litestorepkg/lib/api_v4.nimsrc/litestorepkg/lib/api_v4.nim

@@ -620,6 +620,7 @@ setOrigin(LS, req, result.headers)

result.headers["Allow"] = "HEAD, GET, OPTIONS, POST, PUT" result.headers["Access-Control-Allow-Methods"] = "HEAD, GET, OPTIONS, POST, PUT" elif id != "": + result.code = Http204 result.content = "" if LS.readonly: result.headers = newHttpHeaders(TAB_HEADERS)