From f34a480a99b4e33fd15f5f6375a37911a05e6c1f Mon Sep 17 00:00:00 2001 From: steve-chavez Date: Thu, 13 Feb 2020 13:32:31 -0500 Subject: [PATCH] Add misc header improvements to upcoming --- api.rst | 2 ++ releases/upcoming.rst | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/api.rst b/api.rst index 3e8bbad05..17960fa48 100644 --- a/api.rst +++ b/api.rst @@ -1401,6 +1401,8 @@ You can also access the request path and method with :code:`request.path` and :c -- You can get the method of the request with SELECT current_setting('request.method', true); +.. _guc_resp_hdrs: + Setting Response Headers ------------------------ diff --git a/releases/upcoming.rst b/releases/upcoming.rst index fc7b7b3ef..de5e751cd 100644 --- a/releases/upcoming.rst +++ b/releases/upcoming.rst @@ -19,11 +19,13 @@ Added * Support for user defined socket permission via :ref:`server-unix-socket-mode` config option |br| -- `@Dansvidania `_ -* HTTP improvements -- `@steve-chavez `_ +* HTTP logic improvements -- `@steve-chavez `_ + Support for HTTP HEAD requests. + GUCs for :ref:`guc_req_path_method`. + Support for :ref:`pre_req_headers`. + + Allow overriding provided headers(Content-Type, Location, etc) by :ref:`guc_resp_hdrs` + + Access to the ``Authorization`` header value through ``request.header.authorization`` * Documentation reference for :ref:`s_proc_embed`.