This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
SavageCore's profile picture

[HTTP (API)][Question] Limit to .readAll()?

Started by SavageCore, 11 May 2013 - 09:59 AM
SavageCore #1
Posted 11 May 2013 - 11:59 AM
Hello

When trying to write response from web server to local file or printing to computer such as:


Coal:454
Copper:45
Diamond:7
Gold:109
Invar:21
Iron:172
Lead:76
Nickel:50
Scrap:360
Silver:227
SpruceLog:1377
SprucePlank:3456
Tin:194

It only ever prints 12 lines, never any more. Is there a limit to readAll()?

Thanks
Mads #2
Posted 11 May 2013 - 12:07 PM
Try to look at the source of the webpage. If it is only 12 lines, it's not CC's fault.
SavageCore #3
Posted 11 May 2013 - 12:12 PM
Yeah sorry it was my bad! Forgot I left in some old limit code.. doh.

Thanks anyway.