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

Philippe Marschall philippe.marschall at gmail.com
Thu Apr 14 16:40:32 UTC 2011


2011/4/5 Tobias Pape <Das.Linux at gmx.de>:
> 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)

Do you have a dump of the request? Do you have an easy way to
reproduce it (Pharo 1.1 doesn't seem to ship with mcm)? I tried
something very simple and could not reproduce it immediately.

Cheers
Philippe


More information about the seaside mailing list