We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9536f1d + 2050ec8 commit 00d9b60Copy full SHA for 00d9b60
doc/tutorial/Authentication.lhs
@@ -368,10 +368,10 @@ genAuthMain = run 8080 (serveWithContext genAuthAPI genAuthServerContext genAuth
368
$ curl -XGET localhost:8080/private
369
Missing auth header
370
371
-$ curl -XGET localhost:8080/private -H "servant-auth-cookie: key3"
+$ curl -XGET localhost:8080/private -H "Cookie: servant-auth-cookie=key3"
372
[{"ssshhh":"this is a secret: Ghédalia Tazartès"}]
373
374
-$ curl -XGET localhost:8080/private -H "servant-auth-cookie: bad-key"
+$ curl -XGET localhost:8080/private -H "Cookie: servant-auth-cookie=bad-key"
375
Invalid Cookie
376
377
$ curl -XGET localhost:8080/public
0 commit comments