Changeset 1090 for trunk


Ignore:
Timestamp:
10/14/08 01:22:58 (10 years ago)
Author:
douglas
Message:

FIXED Ticket #1305 Pinging on Opera uses GET instead of HEAD

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XinhaCore.js

    r1089 r1090  
    63006300  } 
    63016301 
     6302  // Opera seems to have some problems mixing HEAD requests with GET requests. 
     6303  // The GET is slower, so it's a net slowdown for Opera, but it keeps things 
     6304  // from breaking. 
     6305  var method = Xinha.is_opera ? "GET" : "HEAD"; 
    63026306  req.onreadystatechange = callBack; 
    6303   req.open('HEAD', url, true); 
     6307  req.open(method, url, true); 
    63046308  req.send(null); 
    63056309}; 
Note: See TracChangeset for help on using the changeset viewer.