Skip to Main Content

ORDS, SODA & JSON in the Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to workaround lack of support for the HEAD method in ORDS

jan.navratilAug 19 2025 — edited Aug 19 2025

As I understand it there is no explicit support for the HEAD method in ORDS (https://forums.oracle.com/ords/apexds/post/is-the-head-method-available-in-ords-3-0-4-5119)

We have a following challenge:

  1. Email is sent to students with a link (unique token)
  2. The link URI is an ORDS REST endpoint redirecting to an APEX page
  3. When user is using Outlook web the REST endpoint is called twice - first as HEAD and then as GET
    1. The reason is the Advance Thread protection (Safelink) feature
    2. https://learn.microsoft.com/en-us/answers/questions/431398/outlook-safe-link-protection-trigger-the-actual-re
  4. The ORDS is accepting the HEAD request and routing it as GET - we see owa_util.get_cgi_env('REQUEST_METHOD') = ‘GET’
  5. That's causing duplicate processing & token expiration

The question:

How we can distinguish the HEAD requests from GET within the ORDS.

We use self hosted ORDS and OCI autonomous database

Comments
Post Details
Added on Aug 19 2025
3 comments
124 views