Skip to content

Instantly share code, notes, and snippets.

@titusfortner
Last active January 9, 2017 01:48
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 titusfortner/1941569a30fbd02853e743b0cce14349 to your computer and use it in GitHub Desktop.
Save titusfortner/1941569a30fbd02853e743b0cce14349 to your computer and use it in GitHub Desktop.
Marionette Cookie Bug
-> POST session/a0438fd6-d548-e64b-a99c-b725ba69d38a/cookie
>>> http://127.0.0.1:4446/session/a0438fd6-d548-e64b-a99c-b725ba69d38a/cookie | {"cookie":{"name":"foo","value":"bar","path":"/","secure":false,"expiry":2177452800}}
> {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=utf-8", "Content-Length"=>"85"}
<- {}
-> GET session/a0438fd6-d548-e64b-a99c-b725ba69d38a/cookie
<- {"value":[{"name":"foo","value":"bar","path":"/","domain":"localhost","expiry":null,"secure":false,"httpOnly":false}]}
-> POST session/f6e69748-a0ec-2549-8f45-c4bb94cc29b9/cookie
>>> http://127.0.0.1:4446/session/f6e69748-a0ec-2549-8f45-c4bb94cc29b9/cookie | {"cookie":{"name":"foo","value":"bar","path":"/","secure":false}}
> {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=utf-8", "Content-Length"=>"65"}
<- {}
-> GET session/f6e69748-a0ec-2549-8f45-c4bb94cc29b9/cookie
<- {"value":[{"name":"foo","value":"bar","path":"/","domain":"localhost","expiry":null,"secure":false,"httpOnly":false}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment