<div dir="auto">Well, class + selector + author initials / time stamp should be enough to identify the method on the server. Sending the whole source code with it seems unnecessary. </div><div dir="auto"><br></div><div dir="auto">–Vanessa –</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Apr 17, 2021 at 06:04 Marcel Taeumel <<a href="mailto:marcel.taeumel@hpi.de">marcel.taeumel@hpi.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div><div id="m_-4180926635782303818__MailbirdStyleContent" style="font-size:10pt;font-family:Arial;text-align:left;color:rgb(0,0,0)" dir="ltr">
                                        +1 for using POST (if it is easier to implement... Chris?)<div style="font-family:Arial"><br></div><div style="font-family:Arial">Best,</div><div style="font-family:Arial">Marcel</div></div></div><div><div id="m_-4180926635782303818__MailbirdStyleContent" style="font-size:10pt;font-family:Arial;text-align:left;color:rgb(0,0,0)" dir="ltr"><div style="font-family:Arial"></div><blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-top:20px;margin-left:0px;padding-left:10px;font-family:Arial">
                        <p style="margin-top:10px;font-family:Arial;color:rgb(170,170,170)">Am 17.04.2021 05:11:17 schrieb Vanessa Freudenberg <<a href="mailto:vanessa@codefrau.net" target="_blank" style="font-family:Arial">vanessa@codefrau.net</a>>:</p><div style="font-family:Arial,Helvetica,sans-serif">
<div dir="ltr" style="font-family:Arial,Helvetica,sans-serif"><div style="font-family:Arial,Helvetica,sans-serif">The argument to the server call is serializing the whole definition:</div><div style="font-family:Arial,Helvetica,sans-serif"><br></div>serializeForRequest: aMCDefinition <br>    ^ ((ReferenceStream on: (RWBinaryOrTextStream on: ByteArray new)) nextPut: aMCDefinition ; yourself) contents asString encodeForHTTP<div style="font-family:Arial,Helvetica,sans-serif"><br></div><div style="font-family:Arial,Helvetica,sans-serif">So either, as Levente suggests, it needs to be POSTed which allows larger data, or something smaller needs to be posted to the server, like MCDefinition>>description. Either way, it sounds like both server and client need to be touched for this.</div><div style="font-family:Arial,Helvetica,sans-serif"><br></div><div style="font-family:Arial,Helvetica,sans-serif">–Vanessa–<br></div><br><div class="gmail_quote" style="font-family:Arial,Helvetica,sans-serif"><div dir="ltr" class="gmail_attr" style="font-family:Arial,Helvetica,sans-serif">On Fri, Apr 16, 2021 at 4:17 PM Levente Uzonyi <<a href="mailto:leves@caesar.elte.hu" target="_blank" style="font-family:Arial,Helvetica,sans-serif">leves@caesar.elte.hu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;font-family:Arial,Helvetica,sans-serif;border-left-color:rgb(204,204,204)">The problem is that the service is implemented as a GET request instead <br>
of a POST or PUT request, so data can only be encoded in the URL.<br>
Like most web servers, nginx has an upper limit on the length of the URLs <br>
accepted (though it's implicit in case of nginx).<br>
And even though the accepted maximum length could be increased, there <br>
would still be cases where the error occurs.<br>
The right solution is to implement this as a POST or a PUT service.<br>
<br>
<br>
Levente<br>
<br>
On Fri, 16 Apr 2021, Christoph Thiede wrote:<br>
<br>
> Hmm ... Confusingly, the error message still persists when I manually<br>
> truncate the source in the method definition. On the other hand, the feature<br>
> works fine for other methods such as String >> #asInteger. Is the request<br>
> limit just way too low? Could you maybe increase this limitation?<br>
><br>
> Best,<br>
> Christoph<br>
><br>
><br>
><br>
> -----<br>
> Carpe Squeak!<br>
> --<br>
> Sent from: <a href="http://forum.world.st/Squeak-Dev-f45488.html" rel="noreferrer" target="_blank" style="font-family:Arial,Helvetica,sans-serif">http://forum.world.st/Squeak-Dev-f45488.html</a><br>
<br>
</blockquote></div></div>
</div></blockquote>
                                        </div></div><br>
</blockquote></div></div>