Linux serverlinux web serverNETWORK ADMINISTRATIONS

Simple HTTP Server in Python

In this video, we learn how to build a simple Python HTTP server.

◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚
🐍 The Python Bible Book: https://www.neuralnine.com/books/
💻 The Algorithm Bible Book: https://www.neuralnine.com/books/
👕 Programming Merch: https://www.neuralnine.com/shop

🌐 Social Media & Contact 🌐
📱 Website: https://www.neuralnine.com/
📷 Instagram: https://www.instagram.com/neuralnine
🐦 Twitter: https://twitter.com/neuralnine
🤵 LinkedIn: https://www.linkedin.com/company/neuralnine/
📁 GitHub: https://github.com/NeuralNine
🎙 Discord: https://discord.gg/JU4xr8U3dm

🎵 Outro Music From: https://www.bensound.com/

Timestamps:
(0:00) Intro
(0:28) Command Line
(6:18) Custom Python HTTP Server
(17:23) Outro

source

by NeuralNine

linux web server

20 thoughts on “Simple HTTP Server in Python

  • Does the basehttpServer doesn’t provide a way for the handler to get the query parameters?

  • Error code explanation: 501 – Server does not support this operation. Please Helpe @NeuralNine

  • Can anyone help me with " HTTPConnection() takes no arguments " error

  • I'd like to create a test www using html+python but… not on my local computer only directly on the server in order to be visible for any1 via internet.

    Have you got any tutorial how to do that?

  • how do you retrive data from request? like URL path, POST data, get params?

  • are you from Romania? sorry, im just curious !

  • Is this server secure? I was going to use this as a server but, the internet said it’s not secure. Is it secure? Need to know.

  • Great info. I love how you actually googled after you got stuck and didn't cut that part out. Google search is an important skill for any programmer.

  • WinError 10049- The requested address is not valid in its context

Comments are closed.