Modifying Jquery Ajax Request Connection Header
I'm trying to modify the Connection header with the following code with no success jQuery.ajax({ url: URL, async: boolVariable, beforeSend: function(xhr) {
Solution 1:
According to the standard here you are not allowed to set the Connection header. It will terminate the set header. Also if you try this in webkit the console will output Refused to set unsafe header "Connection" So it looks like you will not be able to do what you want on the client side.
Post a Comment for "Modifying Jquery Ajax Request Connection Header"