diff --git a/lib/context.js b/lib/context.js index 923a642..dac144f 100644 --- a/lib/context.js +++ b/lib/context.js @@ -141,14 +141,14 @@ delegate(proto, 'response') .method('redirect') .method('append') .method('remove') - .method('set') .method('vary') + .method('set') .access('status') .access('body') .getter('headerSent') - .setter('etag') .setter('lastModified') .setter('length') + .setter('etag') .setter('type'); /** @@ -165,9 +165,9 @@ delegate(proto, 'request') .access('querystring') .access('idempotent') .access('socket') - .access('query') .access('search') .access('method') + .access('query') .access('path') .access('host') .access('url') @@ -175,9 +175,9 @@ delegate(proto, 'request') .getter('subdomains') .getter('protocol') .getter('header') + .getter('secure') .getter('stale') .getter('fresh') - .getter('secure') + .getter('type') .getter('ips') - .getter('ip') - .getter('type'); + .getter('ip');