Fwd: [Seaside] Seaside-REST, PUT, and the Server adaptors

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

Fwd: [Seaside] Seaside-REST, PUT, and the Server adaptors

Philippe Marschall
---------- Forwarded message ----------
From: Tobias Pape <[hidden email]>
Date: 2011/4/7
Subject: Re: [Seaside] Seaside-REST, PUT, and the Server adaptors
To: Seaside - general discussion <[hidden email]>
Cc: GemStone Seaside beta discussion <[hidden email]>


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi
Am 2011-04-05 um 10:42 schrieb Tobias Pape:

> Dear all
>
> I played around with the Seaside-REST-portion for SqueakSource3
> by Phillippe, and I figured, that it depends (at least for Squeak/Pharo)
> on the Adaptor whether it is possible to use PUT-Requests or not:
>
> Having this code:
> putMap: fileName ofProject: projectName
>       <PUT>
>       <Path: '/{projectName}/{fileName}.mcm'>
>       | data |
>       data := self requestContext request rawBody.
>
> When using the Swazoo-Adaptor, data is nil, whatever I try
> (certain combinations of raw sending, url-encode, form-encode
> and the like), When using the Comanche-Adaptor, this works
> easily.

Sorry for self-followup, but I think I found a fix.
See http://code.google.com/p/glassdb/issues/detail?id=261

So Long,
       -Tobias
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAk2d76gACgkQcPVIrP6PLKv+qACfXOZ55rID0ULAFJNhK9/owIP+
1KUAn0DaEN/D4jq5xr0O7GO5grmZqymm
=UdCH
-----END PGP SIGNATURE-----
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Swazoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/swazoo-devel