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

curl not display "Hello, World!" #12

Open
gemesif opened this issue Apr 8, 2019 · 0 comments
Open

curl not display "Hello, World!" #12

gemesif opened this issue Apr 8, 2019 · 0 comments

Comments

@gemesif
Copy link

gemesif commented Apr 8, 2019

curl(7.58.0) terminated, without display "Hello, World!".

I think, the 'http_response' is deficient.
With this, it working good:

http_response = b"""\
HTTP/1.1 200 OK
Content-Type: text/html

Hello, World!
"""
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