Jump to content

Is my body too big?


Qwalyphi Korpov
 Share

You are about to reply to a thread that has been inactive for 3285 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

I am a tiny avatar.  But this isn't about me.

I have a script that sends http [HTTP_METHOD, "POST"] requests to an outside server. 

I can see in the wiki how to set the maximum body size of the response to an http request.  I don't see any mention of the maximum body size that can be sent.

http://wiki.secondlife.com/wiki/LlHTTPRequest

I've gotten some hints there is a limit on one or both ends due to some truncation.

Anyone know what the LL limit is, if any?

Link to comment
Share on other sites


Sassy Romano wrote:

You mean the limits mentioned on that very page in the wiki?
2
[
 
length
]
[
2048
]
Sets the maximum (UTF-8 encoded) byte length of the HTTP body. The maximum that can be set depends upon whichVM is used.

Well, I think maybe yes.  Because it isn't clear that the same number applies both coming and going.

I suppose I'm thrown a curve by this caveat:

The response body is limited to 2048 bytes by default, see HTTP_BODY_MAXLENGTH above to increase it. If the response is longer, it will be truncated.

Which makes me think... oh, that's very clear about the response body but what about the request body?  Cuz if it applies to both it could have been written so  much more generic.

So my setting it to 16384 should be good then.  I'll check with the other end.

Thanks.

Edit to add:  Fixed my problem with a later version of Bottle.  Request body arrived intact & then confused the earlier Bottle version.

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 3285 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...