Prototype Ajax.Request modifying header

new Ajax.Request({ajax-url}, { method:’get’, requestHeaders: { “Accept”: ‘application/json’ , “User-Agent”: {custom-user-agent} }, onCreate: function(){}, onComplete: function(){}, onSuccess: function(data){}, onFailure: function(){} });   Point: “User-Agent”: {custom-user-agent}…