malformed request when max option is not defined #2

Open
wants to merge 3 commits into
from

Projects

None yet

1 participant

@mef
mef commented Jan 18, 2013

Example from README.md (basic use, step 4) used to crash the process, whereas running examples.basic.js worked fine.

It turned out that this was because when option "max" is omitted, the XML did not encode any document, as variable length only got defined when max exists.

Attached code fixes this by defining the variable length when max is not set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment