Menu

#90 content-type is not being set

open
nobody
5
2012-10-12
2011-04-29
No

xmlrpc_lib.js isn't setting the content-type to text/xml because user_agent is not defined (though the exception is swallowed and execution continues)

line 427:
httpconn.setRequestHeader('User-Agent', user_agent);
should probably be:
httpconn.setRequestHeader('User-Agent', this.user_agent);

Discussion

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB