mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 08:09:10 +02:00
send application/x-protobuf instead of text/html
This commit is contained in:
@@ -18,7 +18,7 @@ class index:
|
||||
return "Hello, world! This server only accepts POST requests."
|
||||
|
||||
def POST(self):
|
||||
web.header("Content-type", "text/html")
|
||||
web.header("Content-type", "application/x-protobuf")
|
||||
web.setcookie("chocolate", hmac("foo", "bar"),
|
||||
secure=True) # , httponly=True)
|
||||
m = chocolatemessage()
|
||||
|
||||
Reference in New Issue
Block a user