Cookie header doesn't work when debugging with DocService
See original GitHub issueProblem
While I follows annotated-http-service, I found that setting Cookie header doesn’t work when debugging with DocService.
How to test
I tested it with InjectionService.header() method as follows.
DocService
When debugging with the DocService, it doesn’t work.

Other HTTP client
It does work well when working with the HTTP client of IntelliJ or cURL.

curl -X GET --location "http://localhost:8080/injection/header" \
-H "x-armeria-text: hello" \
-H "x-armeria-sequence: 1" \
-H "Cookie: x=y" \
-H "Content-Type: application/json; charset=utf-8"
I wonder if it’s bug or known issue, or if I’m missing something.
Issue Analytics
- State:
- Created 3 years ago
- Comments:16 (8 by maintainers)
Top Results From Across the Web
set-cookie header not working - Stack Overflow
I'm running the server on localhost, with 127.0.0.1 aliased to subdomain-dev.domain.com on port 5080 . My When I receive the response for my ......
Read more >Browsing and invoking services with DocService
Browsing and invoking services with DocService. Table of contents. Debug form. Sending HTTP headers. Including and excluding service methods.
Read more >7 Keys to the Mystery of a Missing Cookie - Medium
Troubleshooting tip: open the developer console and check in the Network tab what are the response headers from OPTIONS . Solution tip: On...
Read more >How to Debug Cookies When They Don't Work - YouTube
Some tips on how to get browser cookies to work. Written instructions: https://github.com/benawad/how-to- debug - cookies ---- If you like ...
Read more >Caching content based on cookies - Amazon CloudFront
By default, CloudFront doesn't consider cookies when processing requests and ... CloudFront also caches the Set-Cookie headers with the object returned from ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

That sounds like a bug.
@anuraaga Agreed.