diff --git a/apps/sam/python/src/examples/example_httpd.py b/apps/sam/python/src/examples/example_httpd.py
index 3ae39e0729aa7f52e77f3ce4190b68f330294a52..4c0853f260e5a89aa598644eba51447e1ddf6338 100644
--- a/apps/sam/python/src/examples/example_httpd.py
+++ b/apps/sam/python/src/examples/example_httpd.py
@@ -2,12 +2,12 @@
 
 myServerAddress = "mytestxxx.i2p"
 
-from i2p import BaseHTTPServer, CGIHTTPServer
+from i2p import I2PBaseHTTPServer, I2PCGIHTTPServer
 
-class MyServer(BaseHTTPServer.HTTPServer):
+class MyServer(I2PBaseHTTPServer.HTTPServer):
     pass
 
-class MyRequestHandler(CGIHTTPServer.CGIHTTPRequestHandler):
+class MyRequestHandler(I2PCGIHTTPServer.CGIHTTPRequestHandler):
     pass
 
 def runServer():