Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Module : http.server
#1
Hi guys.
As in the official python website it is recommended not to use the http.server module in a production environment. I need to develop a Web Server for http requests ... What is the correct module to use in a production environment or will I have to walk the stones to develop a web server ?
Reply
#2
Is there a reason you need your web server to run python? How about running python tasks from nginx?
Reply
#3
(Jul-07-2020, 12:49 AM)bowlofred Wrote: Is there a reason you need your web server to run python? How about running python tasks from nginx?
I see that I will have to develop a web service http type o apache, nginx ... What is the path of the stones?
Reply
#4
Can you be more specific about what you're doing? The term "web service" is usually synonymous with "HTTP API" (i.e. a web app serving say JSON or XML via its endpoints). If you're doing that you at least need a web framework and as for the server itself, there's Gunicorn. A list of WSGI servers can be found here.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Triggering a ps1 script in remote windows server via http python request jasveerjassi 1 321 Jan-26-2024, 07:02 PM
Last Post: deanhystad
  Process the image on the Python HTTP server Aleks 0 3,154 Dec-02-2021, 11:43 PM
Last Post: Aleks
  How to take the tar backup files form remote server to local server sivareddy 0 1,871 Jul-14-2021, 01:32 PM
Last Post: sivareddy
  Multithreaded HTTP Server sbguy01 0 6,103 Oct-21-2020, 04:42 PM
Last Post: sbguy01
  ModuleNotFoundError: No module named 'http.client'; 'http' is not a package abhishek81py 1 15,254 Jun-25-2020, 08:58 AM
Last Post: buran
  Web server (http) JohnnyCoffee 1 1,729 Jun-14-2020, 12:41 AM
Last Post: snippsat

Forum Jump:

User Panel Messages

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