At the moment you send() it should try to XHR at least blocked until the end of the send() execution, then will async until a result from the server.
You could prob use a .htaccess rule for immediately returning (perhaps an empty string) and setting any pertinent info (cache, cookies, etc.) without having a physical file. On the other hand I've seen Google Analytics use blank.gif for all their processing needs. They just pass state information as part of the request blank.gif?ua=trident&.... On Mon, Jan 16, 2012 at 9:02 AM, Steve Onnis <[email protected]> wrote: > In addition to that, i don’t actually want to load any of the file. I just > want to hit it and make it log in the web server log files**** > > ** ** > > *From:* Steve Onnis [mailto:[email protected]] > *Sent:* Tuesday, 17 January 2012 1:51 AM > *To:* [email protected] > *Subject:* [Moo] Making a request**** > > ** ** > > If you make a new Request() and then cancel is immediately would the > server still get the request?**** > > ** ** > > Like**** > > ** ** > > var req = new Request({url:”somefile.html”}).send();**** > > req.cancel();**** > > ** ** > > The reason is the files are being loaded from an S3 bucket but i still > want the web server the site is on to track the click.**** > > ** ** > > ** ** > > Steve**** >
