Python Forum
Responding correctly to HTTP request
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Responding correctly to HTTP request
#3
Thumbs Up 
(Apr-05-2023, 02:06 PM)snippsat Wrote: The problem here is that you use CGI,it has been dead💀 in Python for many years.
CGI is deprecated since version 3.11,and will be removed in version 3.13.

The common way to this in Python these day is to use eg Flask, FastAPI, or Django.
So WSGI is the replacement that is written all in Python.
All Framework today is written on top of WSGI(you don't use WSGI alone if not want to build new Framework).

Thanks! I will look into installing FastAPI onto our machine and work from there. I will also install Python 3.11 while I'm at it.
Reply


Messages In This Thread
Responding correctly to HTTP request - by Calab - Apr-04-2023, 07:03 PM
RE: Responding correctly to HTTP request - by Calab - Apr-14-2023, 04:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to send unicode string encoded in utf-8 in http request in Python MaverinCode 1 32,823 Nov-08-2020, 06:45 AM
Last Post: JaiM
  Syntax error for HTTP request GET THX1138 1 6,455 May-12-2018, 12:02 PM
Last Post: snippsat
  HTTP Header request, how to improve efficiency andreamoro 5 5,274 May-01-2017, 03:49 PM
Last Post: micseydel

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020