New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty cookies are set #804
Comments
hey @jormaechea thank you! yeah, that would be very much appreciated! a PR against |
Fixes dherault#804 for v6.x.x
Fixes dherault#804 for v5.x.x
@dnalborczyk Both PRs are ready to be merged! 🚀 |
thanks again @jormaechea ! |
Thank you! I'll be waiting for the npm release 💪 Hey, i've been seeing the lambda integration code and it really needs some refactor.. |
speaking of which: #776 (comment)
Hard to tell, I would assume that the majority probably uses proxy integration, as it easier to get going, and also recommended by
that would be absolutely amazing! and yes, it's needed VERY BADLY. could you do it in bits and pieces, so it's easier to follow and to merge? I assume that you agree that it only makes sense in regarding lambda integration: I'm thinking that would be a great starting point. There's quite a bit of files and functionality where I'm not quite sure what they are doing and what they are being used for (mostly lambda integration related). keep in mind the file and folder structure is not set in stone, and can be, or should be re-organized where it makes sense. let me know if you have any questions! |
I forgot, I have to I need to document the development, build, test and release steps as well. I'll get back to you on that soon. |
Yeah, it would be nice to have some of that documented. I've been taking a look at the On the other hand, I realized that ruby (and many other things) have to be installed in my local machine so that I'll be taking a look at the Lambda integration code, it's flow and get back to you.
Is Prettier config set in stone? It kinda hurts my eyes.. 😂 |
I agree. keep in mind that part of the refactoring is also to keep everything already existing functioning, including the existing tests. Regarding tests and structure is still plenty to do as well. Another todo list item is to run the tests against AWS itself, so functionality would be base lined on that. (not necessarily automated in a build pipeline, as it requires an AWS account).
the
Not sure what you mean. running
👍 awesome! thanks!
what exactly is hurting your eyes? 😄 there isn't really much of a config - that's the beauty of it. quote:
I'm gonna add some information about the dev setup (es6 modules etc.) as well as the current folder structure and test structure, build setup etc. Also how the handler runners work (in-process, child process, worker thread etc.). |
just checked on an gonna look into it and fix it. btw, you can always get around the git hooks with e.g.: update: detect ... function is async, await is missing :/ |
Due to this lines:
serverless-offline/src/api-gateway/ApiGateway.js
Lines 632 to 639 in 858da03
serverless-offline/src/api-gateway/ApiGateway.js
Lines 658 to 659 in 858da03
If you configure a function like this:
This sets a Cookie with no name and no value. Next request, it throws an error of invalid cookie received. (Header
Set-Cookie:
)It's quite annoying, but luckily easy to solve, by simply checking if
headerValue
is not empty.If you're OK with it, I can make 2 PRs, for v5.x and v6. (/cc @dnalborczyk )
Let me know what you prefer.!
The text was updated successfully, but these errors were encountered: