Re: [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
|

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

Tobias Pape
-----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-----