Skip to content
Snippets Groups Projects
Commit b0b324ed authored by Benni Mack's avatar Benni Mack Committed by Andreas Fernandez
Browse files

[TASK] Deprecate alternative fetch methods for GeneralUtility::getUrl()

In times of PSR-7, TYPO3's RequestFactory API and the underlying
Guzzle HTTP library, the wrapper method GeneralUtility::getUrl() is merely
a lazy short-hand method for fetching the contents.

It is recommended to use TYPO3's RequestFactory API for fetching remote
URLs.

For now, however, the additional arguments (sending alternative headers,
only fetching HEAD requests and return headers or headers + content,
fetching a report of what happened) are deprecated, as they have
proven to be inflexible nowadays.

Resolves: #90956
Releases: master
Change-Id: Ic7631ccf61000d0853007cf9278db6e1bab09335
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64012


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
parent b1f32b52
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment