Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble Getting Output from Webserver.py #125

Open
ghost opened this issue Apr 15, 2019 · 1 comment
Open

Trouble Getting Output from Webserver.py #125

ghost opened this issue Apr 15, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 15, 2019

I have tried doing the Running the Webserver Quiz part using vagrant and virtual box (I'm using Windows 8). But although the file itself runs, the output "Hello" isn't displayed in the browser. I also tried running the file without vagrant but instead I get this

`Error response

Error code: 501

Message: Unsupported method ('GET').

Error code explanation: HTTPStatus.NOT_IMPLEMENTED - Server does not support this operation.`

I don't know what to do, please help. Thank you in advance.

@ghost ghost changed the title Trouble Running the Webserver.py Trouble Getting Output from Webserver.py Apr 15, 2019
@lavanyadavluri
Copy link

if you are using python3 use
from http.server import BaseHTTPRequestHandler, HTTPServer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant