Review main Merged

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

Benni Mack CR +2 V +2 Normal +139 −53 updated 06/04/20, 12:59

Commit message

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.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 7