hands-on lab

Python: Introduction to WSGI Applications

Difficulty: Intermediate
Duration: Up to 2 hours
Students: 47
Rating: 5/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

The Web Server Gateway Interface (WSGI) specification — documented in PEP 3333 — defines a simple universal-interface between web servers and web applications. Enabling web developers to mix and match WSGI compliant servers and applications.

This lab introduces some of the primary concepts of WSGI applications.

Expand your development skills by learning the low level web application interface implemented by most modern Python web application frameworks.

Learning Objectives

At the end of this lab you'll be familiar with:

  • WSGI applications
  • Middleware

Intended Audience

  • Python Developers

Prerequisites

  • Familiarity with the Python runtime
  • Familiarity with the Python language syntax
  • Familiarity with callables
  • Familiarity with classes
  • Familiarity with decorators
  • (Optional)
    • Familiarity with HTTP request and response messages

Updates

April 19th, 2023 - Updated theia to enable autosave

Covered topics

Lab steps

Web IDE Review
Introduction to WSGI Applications
Application Arguments
Middleware
WSGI Application
Summary