Maximum xml Data Size: RCM4300 DC10-72
| Newsgroups | gmane.comp.hardware.rabbit-semiconductor |
|---|---|
| Message-ID | <[email protected]> |
Good day,
I would like to know what the size limitation for sending xml data is?
I'm using XMLHttpRequest() to request the xml file.
I have been through the documentation and can't seem to find any (MACROS) settings for this?
I can successfully send a small number of characters in xml.
But when I examine the packet sent (using Fiddler) from the RCM4300 I find that the data in the xml file is truncated if I go above 256bytes.
I'm using the RCM4300 in a web server application.
Ideally I would like to send up to 30kbytes at a time. This is being used in a data logging application.
Below is the webpage code that requests the xml file:
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function() {
if (xmlhttp.readyState === 4 && xmlhttp.status === 200) {
myFunction(xmlhttp);
}
};
xmlhttp.open("GET", "my_data1.xml", true); // true= asynchronous.
xmlhttp.setRequestHeader("Content-Type", "text/xml");
xmlhttp.send(null);
Thanks in advance.
Mike