From 2ea358ae35df9203f2acfbc17f4b73a57bd71725 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 12 Feb 2023 13:07:53 +0100 Subject: [PATCH] Minor docs adjustement --- net/http/transport.ha | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/net/http/transport.ha b/net/http/transport.ha index c62fcff..6e860bf 100644 --- a/net/http/transport.ha +++ b/net/http/transport.ha @@ -8,13 +8,13 @@ use types; // Configures the Transport-Encoding behavior. // -// If set to "none", no transport decoding or encoding is performed on the -// message body, irrespective of the value of the Transport-Encoding header. The -// user must perform any required encoding or decoding themselves in this mode. -// If set to "auto", the implementation will examine the Transport-Encoding -// header and encode the message body appropriately. +// If set to NONE, no transport decoding or encoding is performed on the message +// body, irrespective of the value of the Transport-Encoding header. The user +// must perform any required encoding or decoding themselves in this mode. If +// set to AUTO, the implementation will examine the Transport-Encoding header +// and encode the message body appropriately. // -// Most users will want this to be set to "auto". +// Most users will want this to be set to auto. // // TODO: Document server behavior export type transport_mode = enum { @@ -24,13 +24,13 @@ export type transport_mode = enum { // Configures the Content-Encoding behavior. // -// If set to "none", no transport decoding or encoding is performed on the -// message body, irrespective of the value of the Content-Encoding header. The -// user must perform any required encoding or decoding themselves in this mode. -// If set to "auto", the implementation will examine the Content-Encoding header -// and encode the message body appropriately. +// If set to NONE, no transport decoding or encoding is performed on the message +// body, irrespective of the value of the Content-Encoding header. The user must +// perform any required encoding or decoding themselves in this mode. If set to +// AUTO, the implementation will examine the Content-Encoding header and encode +// the message body appropriately. // -// Most users will want this to be set to "auto". +// Most users will want this to be set to AUTO. // // TODO: Document server behavior export type content_mode = enum {