Forum Discussion
jyotishman22
15 years agoOccasional Contributor
Hi,
I have attached a sample project here. I am using "google.com" as the service end point for the request as an example of a valid server. As you will see I have selected "Disable URL Encoding" for the "URL" parameter. I have already encoded the parameter as "http:%2F%2Fwww.eviware.com%2Fforum%2F" and do not want this to be URL encoded. However when I send the request, the parameter gets encoded.
The output from the http log is captured below:
Tue Nov 15 12:18:37 EST 2011:DEBUG:<< " <p>The requested URL <code>/rest/test;RESULT=SUCCESS; URL=http:%252F%252Fwww.eviware.com%252Fforum%252F</code> was not found on this server. <ins>That[0xe2][0x80][0x99]s all we know.</ins>[\n]"
Tue Nov 15 12:35:03 EST 2011:DEBUG:>> "GET /rest/test;RESULT=SUCCESS;URL=http:%252F%252Fwww.eviware.com%252Fforum%252F HTTP/1.1[\r][\n]"
The URL has been encoded to: "http:%252F%252Fwww.eviware.com%252Fforum%252F".
When I change the "Style" of the parameter from MATRIX to QUERY, and select the "Disable URL Encoding" option, the parameter isn't encoded as expected. The output from the http log for this case is captured below:
Tue Nov 15 12:48:44 EST 2011:DEBUG:<< " <p>The requested URL <code>/rest/test;RESULT=SUCCESS?URL=http:%"
Tue Nov 15 12:48:44 EST 2011:DEBUG:<< "2F%2Fwww.eviware.com%2Fforum%2F</code> was not found on this server. <ins>That[0xe2][0x80][0x99]s all we know.</ins>[\n]"
Tue Nov 15 12:49:26 EST 2011:DEBUG:>> "GET /rest/test;RESULT=SUCCESS?URL=http:%2F%2Fwww.eviware.com%2Fforum%2F HTTP/1.1[\r][\n]"
Thanks,
Jyo
I have attached a sample project here. I am using "google.com" as the service end point for the request as an example of a valid server. As you will see I have selected "Disable URL Encoding" for the "URL" parameter. I have already encoded the parameter as "http:%2F%2Fwww.eviware.com%2Fforum%2F" and do not want this to be URL encoded. However when I send the request, the parameter gets encoded.
The output from the http log is captured below:
Tue Nov 15 12:18:37 EST 2011:DEBUG:<< " <p>The requested URL <code>/rest/test;RESULT=SUCCESS; URL=http:%252F%252Fwww.eviware.com%252Fforum%252F</code> was not found on this server. <ins>That[0xe2][0x80][0x99]s all we know.</ins>[\n]"
Tue Nov 15 12:35:03 EST 2011:DEBUG:>> "GET /rest/test;RESULT=SUCCESS;URL=http:%252F%252Fwww.eviware.com%252Fforum%252F HTTP/1.1[\r][\n]"
The URL has been encoded to: "http:%252F%252Fwww.eviware.com%252Fforum%252F".
When I change the "Style" of the parameter from MATRIX to QUERY, and select the "Disable URL Encoding" option, the parameter isn't encoded as expected. The output from the http log for this case is captured below:
Tue Nov 15 12:48:44 EST 2011:DEBUG:<< " <p>The requested URL <code>/rest/test;RESULT=SUCCESS?URL=http:%"
Tue Nov 15 12:48:44 EST 2011:DEBUG:<< "2F%2Fwww.eviware.com%2Fforum%2F</code> was not found on this server. <ins>That[0xe2][0x80][0x99]s all we know.</ins>[\n]"
Tue Nov 15 12:49:26 EST 2011:DEBUG:>> "GET /rest/test;RESULT=SUCCESS?URL=http:%2F%2Fwww.eviware.com%2Fforum%2F HTTP/1.1[\r][\n]"
Thanks,
Jyo