[Seaside] ZnUnknownHttpVersion

Sven Van Caekenberghe sven at stfx.eu
Thu Mar 6 16:20:47 UTC 2014


Kevin,

On 06 Mar 2014, at 16:55, lanvin.kevin at laposte.net wrote:

> It's working on a seaside server, but not on a RestServer.
> This code should show you the problem.
> 
> | server |
> server := ZnServer startOn: 1700 .
> 	server delegate: 
> 		(ZnRestServerDelegate new 
> 			uriSpace: (ZnCallHierarchyRestUriSpace new 
> 							rootClass: ZnExampleSumRestCall;
> 							yourself); 
> 			yourself).
> 
> 
> 
> 
> (ZnClient new) get: 'http://localhost:1700/appName?action=&firstParameter=["Value"]&secondParameter=["Value"]&lastParameter={ "Key":["firstValue","secondValue"]}'

Which works for me, sorry, it gives:

  a ZnResponse(404 Not Found text/plain;charset=utf-8 34B)

You still haven't said anything about which versions of Pharo/Zinc you are using, on which platform you are.

Sven

> Regards.
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the seaside mailing list