diff options
Diffstat (limited to 'doc/src/manual')
| -rw-r--r-- | doc/src/manual/gun.asciidoc | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/src/manual/gun.asciidoc b/doc/src/manual/gun.asciidoc index 7b9ddd0..7c794ee 100644 --- a/doc/src/manual/gun.asciidoc +++ b/doc/src/manual/gun.asciidoc @@ -61,6 +61,12 @@ keepalive => pos_integer()::  	empty line when the connection is idle. Gun only makes a best  	effort here as servers usually have configurable limits to drop  	idle connections. Defaults to 5000. +transform_header_name => fun((LowercaseName :: binary()) -> TransformedName :: binary()) | undefined:: +	A function that will be applied to all header names before they +	are sent to the server. Gun assumes that all header names are in +	lower case. This function is useful if you, for example, need to +	re-case header names in the event that the server incorrectly +	considers header name case to be significant.  version => 'HTTP/1.1' | 'HTTP/1.0'::  	HTTP version to use. Defaults to 'HTTP/1.1'.  | 
