Skip to content

Commit 93313e7

Browse files
author
zhourenjian
committed
Update Java2Script's request header "Java2Script Pacemaker 1.0" to "2.0"
1 parent d23fd24 commit 93313e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sources/net.sf.j2s.ajax/j2sajax/HttpRequest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ c$.prototype.open = function (method, url, async, user) {
7070
c$.prototype.open = function (method, url, async, user, password) {
7171
this.transport.open (method, url, async, user, password);
7272
this.transport.setRequestHeader ("User-Agent",
73-
"Java2Script-Pacemaker/1.0 (+http://j2s.sourceforge.net)");
73+
"Java2Script-Pacemaker/2.0.0 (+http://j2s.sourceforge.net)");
7474
if (method != null && method.toLowerCase () == "post") {
7575
this.transport.setRequestHeader ("Content-type",
7676
"application/x-www-form-urlencoded");

0 commit comments

Comments
 (0)