Lock and Unlock http verbs

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Lock and Unlock http verbs

BrunoBB
Hi,

Implementing a service layer for Orbeon Forms needs lock and unlock verbs
for some persistence services.

These two verbs are ignored by Seaside Rest (using Seside GemStone version).

Following routes implementation i reached WARouteBuilder and methods on
category "configuration  methods".

After implementing in WARouteBuilder:
lock
        <configuration>
        self method: 'LOCK'

The service (with lock verb) started to work.

Why these methods are not implemented by default ?
Is this implementation correct ?

regards,
bruno



--
Sent from: http://forum.world.st/Seaside-General-f86180.html
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Lock and Unlock http verbs

Paul DeBruicker
Hi Bruno,


Seems like your implementation is correct.  

Are the LOCK and UNLOCK verbs part of an HTTP spec?

https://tools.ietf.org/html/rfc7231#section-4

It doesn't seem like they're part of HTTP/1.1 so maybe thats why they're not
implemented in Seaside.



Hope this helps


Paul


BrunoBB wrote

> Hi,
>
> Implementing a service layer for Orbeon Forms needs lock and unlock verbs
> for some persistence services.
>
> These two verbs are ignored by Seaside Rest (using Seside GemStone
> version).
>
> Following routes implementation i reached WARouteBuilder and methods on
> category "configuration  methods".
>
> After implementing in WARouteBuilder:
> lock
>        
> <configuration>
>         self method: 'LOCK'
>
> The service (with lock verb) started to work.
>
> Why these methods are not implemented by default ?
> Is this implementation correct ?
>
> regards,
> bruno
>
>
>
> --
> Sent from: http://forum.world.st/Seaside-General-f86180.html
> _______________________________________________
> seaside mailing list

> seaside@.squeakfoundation

> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside





--
Sent from: http://forum.world.st/Seaside-General-f86180.html
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Lock and Unlock http verbs

BrunoBB
Paul,

It seems that you are correct.

Lock is a part of: RFC 2518 WEBDAV

http://ietf.org/rfc/rfc2518#45

No sure what is the difference between WebDav 2518 and RFC 7231 from a
programming point of view.
Because LOCK can be implemented easily in Seaside.

regards,
bruno




--
Sent from: http://forum.world.st/Seaside-General-f86180.html
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside