8 Replies Latest reply on Oct 22, 2019 4:53 PM by ifernand

    Custom Reason Phrase not included in HTTP response

    ifernand

      Hi.

       

      We are using OWA_UTIL.status_line to set a "Reason Phrase" in our ORDS services. But "Reason Phrase" is not appearing in the response.

       

      We are using code like this to set "reason phrase":

       

      OWA_UTIL.status_line(nstatus => 403,

      creason       => 'Reason Phrase set from OWA_UTIL.status_line',

      bclose_header => FALSE);

       

      But when we get the response from the service, reason phrase is standard one:

       

      < HTTP/1.1 403 Forbidden

      < Server: Apache-Coyote/1.1

      < ETag: "i4DDo/vSMZ4/eOobbpvx+DZMAs32LRTXVjnTpUihtOmRXKTwkBot+P3x5zDJ9IORcBssoUKmdL+xHIF7zBuyaA=="

      < Transfer-Encoding: chunked

      < Date: Mon, 21 Oct 2019 10:19:16 GMT

       

      How can we get a cutomized "Reason phrase" returned by our services?

      We are using ORDS 17.4.

       

      Regards.