Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constant utl_http.http_version_1_1 causes compiler issues on older Oracle versions #123

Closed
daust opened this issue Dec 2, 2022 · 1 comment
Assignees
Labels

Comments

@daust
Copy link
Owner

daust commented Dec 2, 2022

The constant utl_http.http_version_1_1 is not available on Oracle 11. Although this is clearly an old version, it could still work.
See: #112

I will duplicate the constant in my code so that I don't rely on the Oracle package:

  -- The HTTP protocol versions that can be used in the function begin_request
  HTTP_VERSION_1_0  CONSTANT VARCHAR2(64) := 'HTTP/1.0'; -- HTTP 1.0
  HTTP_VERSION_1_1  CONSTANT VARCHAR2(64) := 'HTTP/1.1'; -- HTTP 1.1
@daust daust added the bug label Dec 2, 2022
@daust daust self-assigned this Jan 13, 2023
daust added a commit that referenced this issue Jan 16, 2023
- Replaced all occurrences of utl_http.http_version_1_1 with the same constant in the package xlib_http so that it will also work in Oracle 11.
@daust
Copy link
Owner Author

daust commented Jan 16, 2023

Replaced all occurrences of utl_http.http_version_1_1 with the same constant in the package xlib_http so that it will also work in Oracle 11.

@daust daust closed this as completed Jan 16, 2023
daust added a commit that referenced this issue Nov 22, 2023
Fix for #123 - did not compile on Oracle 11 or 12. Changed constant to variable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant