all repos — litestore @ ac8202353d8cc834347549a80a4fc2f52cdf99db

A minimalist nosql document store.

High-level API: fixed URL encoding in params.
h3rald h3rald@h3rald.com
Sat, 01 Sep 2018 17:32:42 +0200
commit

ac8202353d8cc834347549a80a4fc2f52cdf99db

parent

6ea809cfa156ed696a8252895ff2def37b96f58a

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

jump to
M litestore.nimlitestore.nim

@@ -129,7 +129,7 @@

proc query*(table: StringTableRef): string = var params = newSeq[string](0) for key, value in pairs(table): - params.add("$1=$2" % @[key, value.encodeUrl]) + params.add("$1=$2" % @[key, value]) return params.join("&") proc newLSRequest(meth: HttpMethod, resource, id, body = "", params = newStringTable(), headers = newHttpHeaders()): LSRequest =