Skip to content

testing HTTP request withPlainCookie() without encoding #4649

Answered by thetutlage
jared-f asked this question in Help
Discussion options

You must be logged in to vote

You can read the cookie as follows via request.

ctx.request.plainCookie('sauce', {
  encoded: false
})

But I agree, it will be nice to allow non-encoded cookies via tests too. Can you please file an issue in https://github.com/adonisjs/http-server repo for the same and I will look into it

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jared-f
Comment options

Answer selected by jared-f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants