On Wed, 2012-01-11 at 12:22 -0800, becks007 wrote:
> Folks,
>
> I am trying to use HttpPost/HttpGet methods with URLs of web application
> which follows RFC 3986. In such cases due to characters like {} its failing
> to create the URI with syntax exception.
>
> Would like to know if there is any mechanism to pass the URI as it is to the
> server. The URI can't be modified as that will result in web application not
> identifying the resources properly.
>
> Regards
You basically have two options:
(1) drop to HttpCore which does not enforce a particular format of
request URIs.
(2) Continue using HttpClient but override the default message writer
implementation with a custom one that can re-format request URIs of
outgoing request messages to fit the needs of your specific
application.
Hope this helps
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]