Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Python HTTP exercises

Exercise #0: Test HTTP server

Launch the example Python HTTP server and test it by making a request to it both from a browser and using curl.

Exercise #1: POST requests

Extend the HTTP server to be able to handle POST requests. Test it by making a post request using curl.

Exercise #2: Form handling

Use the server provided here. Make a HTML form with some input fields and set its action such that it is submitted to your Python HTTP server (using GET).

  • See urllib.parse for extracting input variables from the URL

Exercise #3: Form handling (POST)

Extend the previous exercise such that the form is submitted using POST.