You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-c-dev@ws.apache.org by "nadir amra (JIRA)" <ax...@ws.apache.org> on 2010/04/03 06:53:27 UTC
[jira] Created: (AXISCPP-1068) Support http redirects
Support http redirects
----------------------
Key: AXISCPP-1068
URL: https://issues.apache.org/jira/browse/AXISCPP-1068
Project: Axis-C++
Issue Type: New Feature
Reporter: nadir amra
Add support for http redirect.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org
[jira] Closed: (AXISCPP-1068) Support http redirects
Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/AXISCPP-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
nadir amra closed AXISCPP-1068.
-------------------------------
Resolution: Fixed
Fix Version/s: current (nightly)
Basically I added support so automatic redirect can be done seamlessly. The original implementation would throw a transport exception, but a client user would not know that a redirect occurs. I created a new exception code (SERVER_TRANSPORT_REDIRECT_RECEIVED) to indicate redirect. And in the exception data, I put the redirect location so a client can choose to handle it manually by getting the location URI from the exception.
I enhanced the transport so that it now supports the following properties (located in include/axis/GDefine.hpp):
ENABLE_AUTOMATIC_REDIRECT - possible values: "true" or "false". Default is false.
MAX_AUTOMATIC_REDIRECT - integer number in string format indicating how many redirects to follow. Default is 1. If "0" is
specified it is equivalent to specifying "false" for ENABLE_AUTOMATIC_REDIRECT.
So users can use the Call object to set the above properties.
If automatic redirect is enabled, automatic redirect will only happen if redirecting from http:// to http:// or https:// to https://. Anything else will result in automatic redirect not being done (exception thrown as if ENABLE_AUTOMATIC_REDIRECT was set to false).
The changes have been made under the following revision:
http://svn.apache.org/viewvc?view=revision&revision=930475
> Support http redirects
> ----------------------
>
> Key: AXISCPP-1068
> URL: https://issues.apache.org/jira/browse/AXISCPP-1068
> Project: Axis-C++
> Issue Type: New Feature
> Reporter: nadir amra
> Fix For: current (nightly)
>
>
> Add support for http redirect.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org
[jira] Closed: (AXISCPP-1068) Support http redirects
Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/AXISCPP-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
nadir amra closed AXISCPP-1068.
-------------------------------
Resolution: Fixed
Fix Version/s: current (nightly)
Basically I added support so automatic redirect can be done seamlessly. The original implementation would throw a transport exception, but a client user would not know that a redirect occurs. I created a new exception code (SERVER_TRANSPORT_REDIRECT_RECEIVED) to indicate redirect. And in the exception data, I put the redirect location so a client can choose to handle it manually by getting the location URI from the exception.
I enhanced the transport so that it now supports the following properties (located in include/axis/GDefine.hpp):
ENABLE_AUTOMATIC_REDIRECT - possible values: "true" or "false". Default is false.
MAX_AUTOMATIC_REDIRECT - integer number in string format indicating how many redirects to follow. Default is 1. If "0" is
specified it is equivalent to specifying "false" for ENABLE_AUTOMATIC_REDIRECT.
So users can use the Call object to set the above properties.
If automatic redirect is enabled, automatic redirect will only happen if redirecting from http:// to http:// or https:// to https://. Anything else will result in automatic redirect not being done (exception thrown as if ENABLE_AUTOMATIC_REDIRECT was set to false).
The changes have been made under the following revision:
http://svn.apache.org/viewvc?view=revision&revision=930475
> Support http redirects
> ----------------------
>
> Key: AXISCPP-1068
> URL: https://issues.apache.org/jira/browse/AXISCPP-1068
> Project: Axis-C++
> Issue Type: New Feature
> Reporter: nadir amra
> Fix For: current (nightly)
>
>
> Add support for http redirect.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org