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

Tobias Pape Das.Linux at gmx.de
Tue Apr 5 08:42:30 UTC 2011


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. 

Just FYI.

So Long
	-Toibias



More information about the seaside mailing list