From eea783135dbd5d6216cfc376a29731876fffc799 Mon Sep 17 00:00:00 2001 From: James Kettle Date: Wed, 13 Mar 2019 15:09:13 +0000 Subject: [PATCH] Support unstringified numbers as payloads again --- src/fast-http.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fast-http.kt b/src/fast-http.kt index 915dc86..012a35a 100644 --- a/src/fast-http.kt +++ b/src/fast-http.kt @@ -67,7 +67,7 @@ class RequestEngine: if payloads == None: payloads = [] elif(not isinstance(payloads, list)): - payloads = [payloads] + payloads = [str(payloads)] self.engine.queue(template, payloads, learn, callback)