Angular · Senior · Question 55 of 75

How can SSR code read the incoming HTTP request (e.g. a cookie)?

Explanation

RESPONSE_INIT lets SSR set the status or headers. Code must handle null, because the same component runs in the browser.

Further reading

Problem with a question

Angular · Senior · question 55

Test yourself

Take the Angular · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz