@@ -8,6 +8,7 @@ trans_xhr = require('./trans-xhr')
8
8
iframe = require (' ./iframe' )
9
9
trans_eventsource = require (' ./trans-eventsource' )
10
10
trans_htmlfile = require (' ./trans-htmlfile' )
11
+ chunking_test = require (' ./chunking-test' )
11
12
12
13
13
14
app =
23
24
24
25
$ .extend (app, webjs .generic_app )
25
26
$ .extend (app, iframe .app )
27
+ $ .extend (app, chunking_test .app )
26
28
27
29
$ .extend (app, trans_websocket .app )
28
30
$ .extend (app, trans_jsonp .app )
@@ -54,6 +56,8 @@ class Server extends events.EventEmitter
54
56
dispatcher = [
55
57
[' GET' , p (' ' ), [' welcome_screen' ]],
56
58
[' GET' , p (' /iframe[0-9-.a-z_]*.html' ), [' iframe' , ' cache_for' , ' expose' ]],
59
+ [' OPTIONS' , p (' /chunking_test' ), opts_filters],
60
+ [' POST' , p (' /chunking_test' ), [' h_sid' , ' xhr_cors' , ' expect_xhr' , ' chunking_test' ]],
57
61
[' GET' , t (' /jsonp' ), [' h_sid' , ' h_no_cache' , ' jsonp' ]],
58
62
[' POST' , t (' /jsonp_send' ), [' h_sid' , ' expect_form' , ' jsonp_send' ]],
59
63
[' POST' , t (' /xhr' ), [' h_sid' , ' xhr_cors' , ' xhr_poll' ]],
0 commit comments