diff options
| author | Adelyn Breelove <[email protected]> | 2019-01-29 10:01:35 -0700 |
|---|---|---|
| committer | Adelyn Breelove <[email protected]> | 2019-01-29 10:01:35 -0700 |
| commit | 16cba5acd05093c66ab1432b40d40605c1098407 (patch) | |
| tree | 28adffb77476315809fe133993c243c036447dc4 /lib/http.ml | |
| parent | Remove outdated docs (diff) | |
| download | disml-16cba5acd05093c66ab1432b40d40605c1098407.tar.xz disml-16cba5acd05093c66ab1432b40d40605c1098407.zip | |
Add client options
Diffstat (limited to 'lib/http.ml')
| -rw-r--r-- | lib/http.ml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/http.ml b/lib/http.ml index 9a47c65..5e49843 100644 --- a/lib/http.ml +++ b/lib/http.ml @@ -23,6 +23,7 @@ module Base = struct "User-Agent", "Dis.ml v0.1.0";
"Authorization", ("Bot " ^ !Client_options.token);
"Content-Type", "application/json";
+ "Connection", "keep-alive";
]
let process_response path ((resp:Response.t), body) =
|