mirror of
https://github.com/certbot/certbot.git
synced 2026-06-03 13:59:02 -04:00
send application/x-protobuf instead of text/html
This commit is contained in:
parent
9ab1d41ea5
commit
c607c0adbf
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue