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

[api-minor] Use the Fetch API, when supported, to load PDF documents in Node.js environments #17706

Merged
merged 1 commit into from
Mar 19, 2024

Commits on Feb 21, 2024

  1. [api-minor] Use the Fetch API, when supported, to load PDF documents …

    …in Node.js environments
    
    Given that modern Node.js versions now implement support for a fair number of "browser" APIs, we can utilize the standard Fetch API to load PDF documents that are specified via http/https URLs.
    
    Please find compatibility information at:
     - https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API#browser_compatibility
     - https://nodejs.org/dist/latest-v18.x/docs/api/globals.html#fetch
     - https://developer.mozilla.org/en-US/docs/Web/API/Response#browser_compatibility
     - https://nodejs.org/dist/latest-v18.x/docs/api/globals.html#response
    Snuffleupagus committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    eded037 View commit details
    Browse the repository at this point in the history