Answer the question
In order to leave comments, you need to log in
Http/Https - why doesn't google chrome send the entire request body to the server?
There is a web server, self-written. During authorization, the browser exchanges data with the server. In Firefox, everything works fine (version 51.0 is the latest at the moment), but google chrome 1 request/response (post) goes well - I see in the console that all the OK data is correct, 2 the request from chrome is no longer complete, and specifically there is no request body - it is empty, I repeat that for some reason everything works fine in Firefox.
1st request I do like this
$.ajax({
async: false,
type: 'POST',
url: 'https://127.0.0.1/',
data: msg,
success: function(data)
<form class="form-login" method="post" onsubmit="encryptAuthData();" enctype="text/plain" id="t_data">
<input type="text" id="user_name" class="login" required="" autofocus="" placeholder="Login or Email" name="AuthLogin">
<input type="password" id="user_pass" required class="password" placeholder="Password" name="AuthPass">
<input type="submit" class="to-send" value="sign in" id="send_login_data" form="t_data">
<input type="submit" class="to-send" value="forgot password" id="send_forgot_data" form="">
</form>
Answer the question
In order to leave comments, you need to log in
There is a web server, self-written.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question