Skip to content

Commit f2d2c8f

Browse files
authored
update docs for web.hpp (geode-sdk#1943)
1 parent 95e156a commit f2d2c8f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

loader/include/Geode/utils/web.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ namespace geode::utils::web {
303303
* Sets the response's encoding. Valid values include: br, gzip, deflate, ...
304304
* You can set multiple encoding types by calling this method with a comma separated list
305305
* of the encodings of your choosing.
306-
* Defaults to not sending an Accept-Encoding: header, and in turn, does not decompress received contents automatically.
306+
* Defaults to sending the built-in supported encodings in the Accept-Encoding header.
307307
*
308308
* @example
309309
* auto req = web::WebRequest()
@@ -374,6 +374,8 @@ namespace geode::utils::web {
374374
* Sets the Certificate Authority (CA) bundle content.
375375
* Defaults to sending the Geode CA bundle, found here: https://github.com/geode-sdk/net_libs/blob/main/ca_bundle.h
376376
*
377+
* Setting the content to an empty string also defaults to the Geode CA bundle.
378+
*
377379
* @param content
378380
* @return WebRequest&
379381
*/

0 commit comments

Comments
 (0)