plugins.rest.settings.request.hooks.encode_url

Encode URL before making request.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.rest.settings.request.hooks.set_content_type

Set Content-Type header when it is empty and body is provided.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.rest.settings.request.hooks.user_agent

Set User-Agent header when it is empty.

Type: null or string or raw lua code

Default: null

Plugin default:

{
  __raw = "\"rest.nvim v\" .. require(\"rest-nvim.api\").VERSION";
}

Declared by: