0

Please note I'm new to APIs and ORDS.

I've created a few APIs with Oracle Rest Data Services (ORDS) which returns 30,000 records at a time. I've noticed in the return header that Transfer-Encoding is chunked.

Another similar API has Transfer-Encoding set to gzip - this reduces the size from more than 14Mb to 8Mb (and increases performance). Is this setting in my control when configuring the API with ORDS? How do I set this please?

1
  • If ORDS Handler has ETag it will not work. Commented Jan 12, 2023 at 15:55

1 Answer 1

0

I eventually found the solution:

OWA_UTIL.mime_header('application/json', FALSE);
HTP.p('Transfer-Encoding: gzip');
OWA_UTIL.http_header_close;
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.