Skip to content

Commit

Permalink
Removed 'application/xml' from Request Header
Browse files Browse the repository at this point in the history
This is too fix issue turbolinks#40
  • Loading branch information
petermumford committed Mar 8, 2016
1 parent 5a236a3 commit d8fc52a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/turbolinks/http_request.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class Turbolinks.HttpRequest
@xhr = new XMLHttpRequest
@xhr.open("GET", @url, true)
@xhr.timeout = @constructor.timeout * 1000
@xhr.setRequestHeader("Accept", "text/html, application/xhtml+xml, application/xml")
@xhr.setRequestHeader("Accept", "text/html, application/xhtml+xml")
@xhr.setRequestHeader("Turbolinks-Referrer", @referrer)
@xhr.onprogress = @requestProgressed
@xhr.onload = @requestLoaded
Expand Down

0 comments on commit d8fc52a

Please sign in to comment.