[gimp-web/migrate/testing] README: with Python 3, SimpleHTTPServer is replaced by http.server.



commit 810df24d62833fdf17f82a7aa2c160aeb63636df
Author: Jehan <jehan girinstud io>
Date:   Tue May 18 15:18:39 2021 +0200

    README: with Python 3, SimpleHTTPServer is replaced by http.server.

 README.md | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/README.md b/README.md
index e61a3b28..8c649863 100644
--- a/README.md
+++ b/README.md
@@ -118,13 +118,16 @@ If you are writing content or developing the site, there is an option to have pe
 Python has a built-in simple web server that can be used to serve the site.
 From the `output/` directory:
 
-`python -m SimpleHTTPServer`
+`python -m http.server`
 
 The site can then be accessed locally at `localhost:8000`.
 
 You can also run any other webserver that you want, of course.
 The site files will be available in the `output/` directory.
 
+*The below note does not seem true anymore with http.server replacing
+SimpleHTTPServer but I left the note here in case I missed something.*
+
 Note: the python SimpleHTTPServer doesn't serve svg images with the correct mimetype.
 To do this, you should add your own mimetype for svg files:
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]