WenTao-Love / base2

Automatically exported from code.google.com/p/base2
0 stars 1 forks source link

XmlHttpRequest #41

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm not planning to fix XmlHttpRequest, but to create some kind of wrapper. I 
need:
- access to the server via http on a http:// hosted page, and access to any 
server from a file:// page 
(not possible with Safari, I'm afraid)
- IE fix
- transparent onsuccess/failure (abstracting aways status code)
- timeout handling
- an option to only allow one request at a time. This is an easy way out of 
concurrency troubles.

I've got a first version, but I haven't seen some standards on this, so it is 
destined to stay in /utils/ 
I'm afraid.

Original issue reported on code.google.com by doek...@gmail.com on 23 Jul 2007 at 4:07

GoogleCodeExporter commented 9 years ago
I'm changing this to enhancement for the time being. It's not really a defect. 
Yet. ;-)

I would like to fix this object eventually too though.

Original comment by dean.edw...@gmail.com on 23 Jul 2007 at 4:16

GoogleCodeExporter commented 9 years ago
Damn labels.

Original comment by doek...@gmail.com on 23 Jul 2007 at 4:19

GoogleCodeExporter commented 9 years ago
If it follows the W3C standard (with some abstraction), that would be great:
http://dev.w3.org/cvsweb/~checkout~/2006/webapi/XMLHttpRequest/Overview.html?con
tent-type=text/html;%20charset=utf-8

Original comment by curiousdannii on 12 Aug 2007 at 5:24

GoogleCodeExporter commented 9 years ago
I've kind of started converting the Prototype Ajax namespace over to base2, 
though I
haven't tested it at all, nor really optimized it for base2 functionality.

I just made a new namespace folder under the main src (trunk/src/base2/Ajax/)

I've attached it here for you if your at all interested...

Original comment by sithella...@gmail.com on 27 Sep 2007 at 12:03

Attachments:

GoogleCodeExporter commented 9 years ago
@sithellaneous - good work!

Original comment by dean.edw...@gmail.com on 7 Oct 2007 at 2:45

GoogleCodeExporter commented 9 years ago

Original comment by dean.edw...@gmail.com on 26 Dec 2007 at 7:15

GoogleCodeExporter commented 9 years ago
If XmlHttpRequest is added to base2. Will it be a separate file, like DOM is?

Original comment by jerold.a...@gmail.com on 23 Feb 2010 at 1:53