alexisgra commented on PR #13866:
URL: https://github.com/apache/camel/pull/13866#issuecomment-2068673717

   Hi @davsclaus ,
   
   When I changed the map to comma-separated `String` entries, I noticed a 
problem.
   If you look at the http specification, you'll see that formats such as 
`header=value,header2=value2` or `header=value;header2=value2` don't work. 
Commas, semi-colons, colons and equals can be used in header values. 
   
   Here are a few examples: 
   `Date: Tue, 15 Nov 1994 08:12:31 GMT`
   `Accept-Language: en-US,en;q=0.5`
   
   
   So I think we have to choose between several possibilities: use `String` and 
don't support all header types (list, parameters...), use message headers as is 
the case in other HTTP components or keep a `Map`.
   
   What do you think? Thanks for your help


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to