@@ -28,7 +28,7 @@ describe('DA Resp', () => {
2828 assert . strictEqual ( '*' , resp . headers . get ( 'Access-Control-Allow-Origin' ) ) ;
2929 assert . strictEqual ( 'HEAD, GET, PUT, POST, DELETE' , resp . headers . get ( 'Access-Control-Allow-Methods' ) ) ;
3030 assert . strictEqual ( '*' , resp . headers . get ( 'Access-Control-Allow-Headers' ) ) ;
31- assert . strictEqual ( 'X-da-actions, X-da-child-actions, X-da-acltrace, X-da-id, X- da-continuation-token, ETag' , resp . headers . get ( 'Access-Control-Expose-Headers' ) ) ;
31+ assert . strictEqual ( 'X-da-actions, X-da-child-actions, X-da-acltrace, X-da-id, da-continuation-token, ETag' , resp . headers . get ( 'Access-Control-Expose-Headers' ) ) ;
3232 assert . strictEqual ( 'text/plain' , resp . headers . get ( 'Content-Type' ) ) ;
3333 assert . strictEqual ( '777' , resp . headers . get ( 'Content-Length' ) ) ;
3434 assert . strictEqual ( '/foo/bar.html=read,write' , resp . headers . get ( 'X-da-actions' ) ) ;
@@ -49,7 +49,7 @@ describe('DA Resp', () => {
4949 assert . strictEqual ( '*' , resp . headers . get ( 'Access-Control-Allow-Origin' ) ) ;
5050 assert . strictEqual ( 'HEAD, GET, PUT, POST, DELETE' , resp . headers . get ( 'Access-Control-Allow-Methods' ) ) ;
5151 assert . strictEqual ( '*' , resp . headers . get ( 'Access-Control-Allow-Headers' ) ) ;
52- assert . strictEqual ( 'X-da-actions, X-da-child-actions, X-da-acltrace, X-da-id, X- da-continuation-token, ETag' , resp . headers . get ( 'Access-Control-Expose-Headers' ) ) ;
52+ assert . strictEqual ( 'X-da-actions, X-da-child-actions, X-da-acltrace, X-da-id, da-continuation-token, ETag' , resp . headers . get ( 'Access-Control-Expose-Headers' ) ) ;
5353 assert . strictEqual ( 'application/json' , resp . headers . get ( 'Content-Type' ) ) ;
5454 assert ( ! resp . headers . get ( 'Content-Length' ) ) ;
5555 assert . strictEqual ( '/foo/blah.html=read' , resp . headers . get ( 'X-da-actions' ) ) ;
@@ -76,7 +76,7 @@ describe('DA Resp', () => {
7676 const ctx = { key : 'foo/bar.html' , aclCtx } ;
7777 const resp = daResp ( { status : 200 , body : 'foobar' } , ctx ) ;
7878 assert . strictEqual ( 200 , resp . status ) ;
79- assert . strictEqual ( 'X-da-actions, X-da-child-actions, X-da-acltrace, X-da-id, X- da-continuation-token, ETag' , resp . headers . get ( 'Access-Control-Expose-Headers' ) ) ;
79+ assert . strictEqual ( 'X-da-actions, X-da-child-actions, X-da-acltrace, X-da-id, da-continuation-token, ETag' , resp . headers . get ( 'Access-Control-Expose-Headers' ) ) ;
8080 assert . strictEqual ( '/haha/hoho/**=read,write' , resp . headers . get ( 'X-da-child-actions' ) ) ;
8181 } ) ;
8282} ) ;
0 commit comments