peterhalicky commented on PR #517:
URL: 
https://github.com/apache/httpcomponents-core/pull/517#issuecomment-2724491903

   The initial motivation for HTTPCORE-778 was the need to put some 
application/x-www-form-urlencoded formatted values into the fragment part of a 
URI. The format is pretty much the same as what is used in the query component 
of the URI, i.e. contains one or more key=value assignments separated by '&'.
   
   With the above changes, if I read the diff correctly, we'll be able to use 
'&' as an unencoded separator. However, the keys/values (data) should be fully 
encoded as they can possibly contain the '&' character, and there likely isn't 
a way to create such URI -- either it will encode all the separators, or it 
won't any.
   
   I understand that this probably opens a can of worms as it likely would 
require functionality similar to what is available for query parameters, but 
unlike query parameters in case of fragment this is only one of many ways how 
fragments are used.


-- 
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: dev-unsubscr...@hc.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org

Reply via email to