Related to HTTP methods.
There is any way when you publish a procedure through http tell the allow
http method POST GET UPDATE DELETE
lik?e:
DB.DBA.VHOST_DEFINE (
lpath=>'/http_procedure',
method=>'GET'
ppath => '/!get_procedure/',
is_dav => 1,
vsp_user => 'dba',
opts => vector('noinherit', 1)
);
DB.DBA.VHOST_DEFINE (
lpath=>'/http_procedure',
method=>'POST'
ppath => '/!post_procedure/',
is_dav => 1,
vsp_user => 'dba',
opts => vector('noinherit', 1)
);
In order to mantain the same uri but implement the behaviour on different
procedures.
Or the only option is to do something like this:
lines := http_request_header ();
req_meth := aref(lines,0);
if(req_meth = "GET"){
...
)
etc...
Or publish the procedures of each method throught a different url and use a
proxy such nginx to do the routing depending of the method?
Thanks.
Z.
http://docs.openlinksw.com/virtuoso/webserver.html
On Sun, Jan 17, 2010 at 4:33 PM, Hugh Williams <[email protected]>wrote:
> Hi Aldo,
>
> This Shouldn't be a problem as we pass on the VERBs to the remote HTTP
> server.
>
> To obtain more detailed debug information on the cause of the error please
> set "CallstackOnException=2" in the "Parameters" section of the Virtuoso INI
> file, as detailed at
>
> http://docs.openlinksw.com/virtuoso/handlingplcondit.html
>
> <http://docs.openlinksw.com/virtuoso/handlingplcondit.html>Restart
> Virtuoso and attempt the operation again ...
>
> Best Regards
> Hugh Williams
> Professional Services
> OpenLink Software
> Web: http://www.openlinksw.com
> Support: http://support.openlinksw.com
> Forums: http://boards.openlinksw.com/support
> Twitter: http://twitter.com/OpenLink
>
> On 16 Jan 2010, at 15:59, Aldo Bucchi wrote:
>
> Hi,
>
> Does HTTP Delete ( the verb ) pass thru the proxy?
> I am using it in front of a RESTFul application and I get a 501.
>
> Regards,
> A
>
> --
> Aldo Bucchi
> skype:aldo.bucchi
> http://www.univrz.com/
> http://aldobucchi.com/
>
> PRIVILEGED AND CONFIDENTIAL INFORMATION
> This message is only for the use of the individual or entity to which it is
> addressed and may contain information that is privileged and confidential.
> If
> you are not the intended recipient, please do not distribute or copy this
> communication, by e-mail or otherwise. Instead, please notify us
> immediately by
> return e-mail.
>
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for
> Conference
> attendees to learn about information security's most important issues
> through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> Virtuoso-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users
>
>
>
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for
> Conference
> attendees to learn about information security's most important issues
> through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> Virtuoso-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users
>
>