Skip to Content
Skip to content
Go Intermediate: Interfaces, Concurrency, and Services
Intermediate
Courses
Go Intermediate: Interfaces, Concurrency, and Services

Check Yourself

Five scenario questions on HTTP middleware wrapping, status capture, signal.NotifyContext, and server.Shutdown.

Course content

Sign in to save your progress.

Course Home
2. If a handler writes `w.Write([]byte("ok"))` without calling `w.WriteHeader(...)`, what status code should `statusRecorder` default to?

About

Five scenario questions on HTTP middleware wrapping, status capture, signal.NotifyContext, and server.Shutdown.

Duration
5 min
Last update
11/27/2026
Was this helpful?
​ 0 ​ 0

Comments

Sign in to comment

No comments yet.