Thu may 31

HTTP server/client workshop

9 – 12h Teaching

Teacher:

  • Michael Kefeder

Goals

  • I know what HTTP (Hypertext Transfer Protocol) is
  • I understand the difference and the relation between server & client
  • I understand why to use a request method

12 – 13.30h Lunch (Pic-Nic @Espace Dickens)

13.30 – 17h

  • Marco Bonetti
  • Lucas Donati

Exercises

DNS

What are the nameservers for the .com and .net? Do you see any similarities?

What is the MX record of example.com?

You want to send an e-mail to slashdot.org, which server do you have to connect to?

What are the TXT records of world4you.com?

What do you learn when you google for the 4 characters afer the „v=“ in one of the records?

Where the does canonical name mail.yahoo.com point to?

Ask your local DNS, 8.8.8.8 and 8.8.4.4 for the Address record of www.google.com - what‘s

special?


HTTP/HTTPS

Until when is the certificate of https://www.google.ch valid?

When you browse from https://www.google.ch to https://www.verisign.com/ how does the

address bar of your browser change?

What is the Status Code when you browse to https://www.galaxus.com/ ?

How many Set-Cookie headers are sent by https://www.galaxus.ch/ ?

What webserver and programming-language is serving https://www.galaxus.ch/ ?

What is the content-type of https://api.qrserver.com/v1/create-qr-code/?data=asdf&size=220x220&margin=0 ?


If you are done with the exercises, work on your Portfolio & Personal Project