Quiz
3.4 PSR-7 HTTP Request/Response
Fragen in diesem Quiz (2)
1Which statements about the PSR-7 standard and the Guzzle library are correct? (2)
- APSR-7 is the successor of PSR-2 and it describes a coding standard
- BThe Guzzle library (used in the TYPO3 core) utilizes PSR-7 as the HTTP message interface
- CThe TYPO3 core features a simplified wrapper (the “RequestFactory”) to access Guzzle clients
- D“cURL” needs to be installed on the system to generate valid HTTP requests according to the PSR-7 standard
- EThe Guzzle library is used to generate PSR-7 conform HTML emails in TYPO3
2You are using TYPO3’s RequestFactory to generate HTTP requests to a remote server. The remote server returns a redirect to another URI. What is required to access the redirect target? (1)
- AThis is not possible. Only web browsers can follow redirects for security reasons
- BYou have to parse the response header and manually initiate a second request to follow the redirect
- CYou use TYPO3’s RedirectManager instead of the RequestFactory
- DThe RequestFactory automatically follows redirects if they are enabled in the backend module SITE MANAGEMENT → Redirects
- EYou configure the RequestFactory to follow redirects by passing additional options to the
request() call
Informationen
- Beschreibung
- Der Nutzer hat seine Fachbereichs-Information gelöscht. Quiz am 3.4 PSR-7 HTTP Request/Response, erstellt von Gelöschter Nutzer am 27/04/2022.
- Autor
- Gelöschter Nutzer
- Sprache
- English
- Aufrufe
- 24
- Verlauf
- Erstellt am 27 Apr 2022 · aktualisiert am 27 Apr 2022
- Schlagwörter
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz