Browse Source

Fix http markdown;

bjorn 1 year ago
parent
commit
1535adeb2e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      api/lovr/http/init.lua

+ 2 - 2
api/lovr/http/init.lua

@@ -30,8 +30,8 @@ return {
     - When `data` is a table, then pairs in the table will be URL encoded and concatenated together
     - When `data` is a table, then pairs in the table will be URL encoded and concatenated together
       to form an `application/x-www-form-urlencoded` body.  For example, if data is
       to form an `application/x-www-form-urlencoded` body.  For example, if data is
       `{ n = 10, k = 'v!' }`, then the request body will be something like `k=v%21&n=10`. Table
       `{ n = 10, k = 'v!' }`, then the request body will be something like `k=v%21&n=10`. Table
-      pairs will only be used if the key is a string and the value is a string or number. - When
-      `data` is a lightuserdata, the data pointed to by the lightuserdata will be used as the
+      pairs will only be used if the key is a string and the value is a string or number.
+    - When `data` is a lightuserdata, the data pointed to by the lightuserdata will be used as the
       request body. Additionally, the `datasize` option should be an integer indicating how big the
       request body. Additionally, the `datasize` option should be an integer indicating how big the
       request body is, in bytes.
       request body is, in bytes.