You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix buildDocument corrupting after second call (issue #626)
Calling buildDocument resulted in content_length being set to NaN, as
instead of passing a string to the internal 'out' function, a number
was passed in the last call. Since content_length was being added onto
each time, this last call corrupts all subsequent document builds.
Also, since content_length was not reset after the call, subsequent
calls would have compounded length even if the document wasn't
corrupted.
0 commit comments