[Seaside] Rest and POST method

Olivier Auverlot olivier.auverlot at gmail.com
Wed Apr 6 07:28:05 UTC 2011


I supose that the guilty is HttpRequest>>#rawPostFields.

If #isPostRequest answers true and the content type is different of  
'application/x-www-form-urlencoded', it answers always ''.

Olivier ;-)

Le 05/04/11 15:54, Philippe Marschall a écrit :
> 2011/4/5 Olivier Auverlot<olivier.auverlot at gmail.com>:
>> Le 05/04/11 09:55, Philippe Marschall a écrit :
>>> It should already work;-)
>>> Can you set a break point in WAComancheRequestConverter>>
>>> #requestBodyFor: and check why the decoding doesn't happen? It could
>>> be because the Content-Length is missing in that case.
>> Ok. It seem that the request is recognized as a POST method but
>> HttpRequest>>#rawPostContents returns '' when the datatype is "text/xml".
> Why? Does it check Content-Length?
> Cheers
> Philippe
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

More information about the seaside mailing list