Hi, The jQuery code is above my level of understanding I am afraid. I wonder where/how exactly you hit the line length limit. Because it is only applicable when reading the HTTP header, normally not the body. Sven On 02 Jul 2014, at 15:42, Sabine Knöfel <sabine.knoefel@gmail.com> wrote:
Hi Sven, all,
I ran into the same problem as described here:
http://forum.world.st/ZnLineReader-set-limit-when-reading-a-header-td4649479...
My question is: that thread was created in 2012, perhaps today you have another alternative/idea to override it globally in ZNConstants. I want to avoid this.
The situation is:
I use lesscss. This creates a style tag like this:
With a button click like this:
html button onClick: (html jQuery ajax callback: [ :eventData | ( Delay forSeconds: 10) wait. eventData inspect ] value: (JSStream on:'jQuery(''#less\\:files-RKALibrary-mainStylesFile'').text()')); script: html jQuery this button; with: 'CSS File generieren'
I want to get the "very very long css file string" and use it (to create a css file from it).
This action is done not so often and I don't want to override the limit it for all requests. I would have to change it to at least 150000 instead of currently 4096. I assume this would not be a good solution...
OTOH, this will be used only while a redesign is done, before going productive. So, in the worst case I will change it for 4 weeks during redesign. What do you think, does that make sense?
Background: I wrote a less editor for my app and the css designer will be able to edit the less code and see the changes immediately in the application.
Regards Sabine
-- View this message in context: http://forum.world.st/ZnLineTooLong-override-alternative-tp4766100.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.