From: Vasudevan C. <vco...@gm...> - 2020-02-10 11:38:38
|
Hi, I have enabled JS to access the following site: https://allegis.ramcocloud.com/RVW/extui/vwrt/LaunchPanel.htm What I saw was that there is a difference in setting the content-type between browser and HTMLUnit. HTMLUnit sets as application/x-www-form-urlencoded where as browser is setting as text/plain. I am using HTMLUnit version 2.37. The server rejects the request, The URL where the difference happened is copied below for reference https://allegis.ramcocloud.com/RVW/ilrt/dispatcher.aspx?RVWRTQS_ACTIVITY=login&RVWRTQS_ILBO=ezelogin&RVWRTQS_TAB=&RVWRTQS_EVENTNAME=tskstdlaunch&RVWRTQS_PCONTROL=&RVWRTQS_PVIEW=&RVWRTQS_EVENTDETAILS=&RVWRTQS_REQID=522d4031-300d-46d5-8d53-064979e6b948&RVWRTQS_PROTO=false&RVWRTQS_TRACE=false&RVWRTQS_XMLHTTP=TRUE&RVWRTQS_COMPONENT=security&RVWRTQS_LANGID=1 Appreciate your help on this. Regards Vasu |