jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timur Alperovich <notificati...@github.com>
Subject Re: [jclouds] JCLOUDS-1008: Add @Encoded annotation. (#861)
Date Fri, 09 Oct 2015 22:54:49 GMT
If I'm reading ```http/utils/Queries.java``` correctly, the parameters are individually encoded,
since the ```UriBuilder``` class will call ```encodeQueryLine()```, which in turn encodes
the string before appending it to the URI. In that sense, I think you're right that maybe
adding ```@Encoded``` to the query parameters may make sense to indicate that jclouds should
skip encoding the parameter value.

Do you think this is something that should be added now or deferred until there is a use case
for it?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/861#issuecomment-147006237
Mime
View raw message