Check: HTTP

Knowledge check · 5 min · Module 6, lesson 4 of 45 min left in this module

Module 6 · HTTP and HTTPSLesson 4 of 4

Goal: Confirm you can read a request and response, act on a status code, and explain what a cookie does.

Four questions: three on this module, one on Module 4. Every answer explains itself, right or wrong.

Your checkout page returns 500 for one customer's cart and works for everyone else. Where do you look?
You moved your blog from /blog to /articles for good. What should /blog return?
Why does a site stay logged in as you from one page to the next?
From Module 4: a Django app deployed with 'python manage.py runserver' works on your laptop but can't be reached online. What's wrong?

Retry as often as you like.

Before you go, name each part.

HTTP at a glance: from memory

Name each part before you reveal it.

A method, a path, headers, maybe a body.
A status, headers, maybe a body.
Three digits saying how it went.
A name and a value.
What lets the server recognise you.
The browser asks, the server answers, and a few named parts carry everything in between.