Skip to content

Instantly share code, notes, and snippets.

@Xliff
Created January 10, 2023 22:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Xliff/8d97f1b95a62c214b2deaaa5b724b865 to your computer and use it in GitHub Desktop.
Save Xliff/8d97f1b95a62c214b2deaaa5b724b865 to your computer and use it in GitHub Desktop.
Cro Error: Expected CookieValue but got Str
Type check failed in assignment to $!value; expected CookieValue but got Str ("\"2|1:0|10:16721936...)
in submethod BUILD at /home/cbwood/Projects/cro-http/lib/Cro/HTTP/Cookie.pm6 (Cro::HTTP::Cookie) line 155
  in method unpack-cookie at /home/cbwood/Projects/cro-http/lib/Cro/HTTP/Request.pm6 (Cro::HTTP::Request) line 167
  in method cookie-value at /home/cbwood/Projects/cro-http/lib/Cro/HTTP/Request.pm6 (Cro::HTTP::Request) line 189
  in method add-csrf-protection at /home/cbwood/Projects/cro-webapp/lib/Cro/WebApp/Form.rakumod (Cro::WebApp::Form) line 657
  in method HTML-RENDER-DATA at /home/cbwood/Projects/cro-webapp/lib/Cro/WebApp/Form.rakumod (Cro::WebApp::Form) line 459
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment