dead_horse
|
5a3f32dfdd
|
Add res.append(field, val) to append headers
|
2015-01-26 02:20:08 +08:00 |
|
Jonathan Ong
|
6cb5a9b9b8
|
n 0.11
|
2014-12-30 11:47:36 -08:00 |
|
fengmk2
|
3e66157472
|
ctx.request.href: get full request url, include protocol , host and originalUrl
Useful on those scenes need current full request url, like `OAuth`.
|
2014-12-27 14:17:00 -08:00 |
|
Guilherme Pacheco
|
6d09053dac
|
Update response.md
|
2014-12-04 15:14:05 -08:00 |
|
Matthew Mueller
|
6847fe68bd
|
added: ctx.state as the recommended namespace for passing information through middleware and routes.
|
2014-11-18 00:54:14 -08:00 |
|
Yiyu He
|
d0586bae30
|
docs: fix content negotiation section indentation
|
2014-10-12 17:00:02 +08:00 |
|
TJ Holowaychuk
|
30967f57ec
|
docs: fix content negotiation section indentation
|
2014-10-09 09:11:09 -07:00 |
|
dead_horse
|
efdd7d3716
|
less strict for status, close #350
add res.message[=]
|
2014-10-09 23:20:53 +08:00 |
|
Peeyush Kushwaha
|
cc4a549b70
|
fixed typo in documentation
|
2014-09-27 17:38:21 +05:30 |
|
bhanuc
|
17e98e4e7d
|
updated request.md and response.md
|
2014-09-25 17:06:23 +05:30 |
|
Jonathan Ong
|
85da935759
|
add .assert() docs
|
2014-09-20 13:19:07 -07:00 |
|
Ian Storm Taylor
|
dc0c35471c
|
support errors and update docs
|
2014-08-12 13:22:33 -07:00 |
|
dead_horse
|
a85889e6c6
|
docs: add ctx.headers alias
|
2014-08-09 13:39:36 +08:00 |
|
TJ Holowaychuk
|
f84bf23169
|
add docs for .throw() properties
|
2014-08-08 13:31:28 -07:00 |
|
dead_horse
|
5ca9f451a7
|
alias request.headers as request.header
|
2014-08-07 00:04:21 +08:00 |
|
dead_horse
|
a7b6ed0529
|
fix middleware gif, close #322
|
2014-08-04 11:28:14 +08:00 |
|
Jan Carlo Viray
|
a437329f79
|
Fix misspelled word from "backwords" to "backwards"
|
2014-06-17 12:40:06 -07:00 |
|
TJ Holowaychuk
|
db0875208d
|
docs
|
2014-06-13 09:02:06 -07:00 |
|
Jonathan Ong
|
31ba115231
|
res: add .is()
|
2014-06-13 00:30:59 -07:00 |
|
TJ Holowaychuk
|
71536b35be
|
remove res.statusString
|
2014-06-10 14:31:41 -07:00 |
|
Jonathan Ong
|
4065bf7e79
|
docs: discuss custom properties
related to #292. might be placed better somewhere else
|
2014-06-07 03:45:13 -07:00 |
|
Jonathan Ong
|
fdbd16acc3
|
remove response.append(), use vary module
|
2014-06-05 16:06:15 -07:00 |
|
dead_horse
|
21b7eb82b9
|
add originalUrl
|
2014-05-06 10:01:46 +08:00 |
|
TJ Holowaychuk
|
55ebdb522b
|
docs
|
2014-05-05 08:44:00 -07:00 |
|
TJ Holowaychuk
|
50ffb86a40
|
Merge pull request #278 from dead-horse/host-setter
remove req.host=
|
2014-05-05 08:42:28 -07:00 |
|
dead_horse
|
f76268ba58
|
remove req.host=, fix docs
|
2014-05-05 12:45:33 +08:00 |
|
Tim Schaub
|
d7d3e84d16
|
Using property properly
|
2014-05-03 15:21:07 -06:00 |
|
TJ Holowaychuk
|
212137139a
|
add installation docs back
wtf...
|
2014-05-01 16:36:16 -07:00 |
|
TJ Holowaychuk
|
f17629d19f
|
remove .outputErrors, suppress output when handled by the dev. Closes #272
|
2014-05-01 16:29:37 -07:00 |
|
Sonny Piers
|
b7a747fc71
|
Fix typo in request api documentation.
|
2014-04-12 00:29:33 +02:00 |
|
Sonny Piers
|
d92a3c371f
|
Update index.md
|
2014-04-12 00:23:11 +02:00 |
|
Dmitry Mazuro
|
9e8d6a3aa0
|
ocd
|
2014-03-24 21:21:15 +03:00 |
|
Jonathan Ong
|
9c2ea5a2a8
|
Update koa-vs-express.md
|
2014-03-10 04:20:54 -07:00 |
|
alsotang
|
bef5bad738
|
Update context.md
ctx.type is delegated to this.response.
|
2014-03-08 14:19:40 +08:00 |
|
TJ Holowaychuk
|
0f20b85da5
|
fix some typos in koa-vs-express docs
|
2014-03-07 14:11:02 -08:00 |
|
TJ Holowaychuk
|
b1f0abd16d
|
Revert "add response.charset accessor and ctx.charset alias"
This reverts commit 94413b1bd4 .
|
2014-03-06 18:05:01 -08:00 |
|
TJ Holowaychuk
|
e56f442222
|
refactor request docs to use this.request
maybe we should do this with all of them, but then we might
need a section showing ctx.* stuff, people might miss the aliasing all together
|
2014-02-14 09:40:58 -08:00 |
|
TJ Holowaychuk
|
785aba879c
|
add request.charset
|
2014-02-14 09:38:59 -08:00 |
|
TJ Holowaychuk
|
94413b1bd4
|
add response.charset accessor and ctx.charset alias
|
2014-02-14 09:33:10 -08:00 |
|
TJ Holowaychuk
|
c0e0c7c6aa
|
update docs for previous breaking change
|
2014-02-14 09:20:29 -08:00 |
|
Qiming zhao
|
14cdfb7fc4
|
fix doc, getter of type is delegated to request
Same kind of confusing thing as #215 mentioned, user have to remember that getters and setters of the `length` and `type` property are different.
|
2014-02-14 13:42:04 +08:00 |
|
Jonathan Ong
|
abb5686d5b
|
docs: add note about confusing context accessors
|
2014-02-13 18:23:45 -08:00 |
|
TJ Holowaychuk
|
aa08845c70
|
remove app.jsonSpaces setting. Closes #202
|
2014-01-31 18:39:47 -08:00 |
|
Jonathan Ong
|
2bc3bb7327
|
this.respond=false for bypassing koa's response handling
closes #198
|
2014-01-24 14:38:40 -08:00 |
|
Jonathan Ong
|
7e66aca8c3
|
better content negotiation docs
closes #193
|
2014-01-18 14:22:53 -08:00 |
|
pana
|
30d200dc09
|
remove the vary method from request object
|
2014-01-17 18:19:51 +08:00 |
|
pana
|
420a6154bc
|
update document
|
2014-01-17 16:30:35 +08:00 |
|
TJ Holowaychuk
|
26fb6a138a
|
add ctx.host= delegate
|
2014-01-07 17:22:46 -08:00 |
|
TJ Holowaychuk
|
43a8c12028
|
docs for req.host=
|
2014-01-07 17:21:43 -08:00 |
|
jeromew
|
93351bf845
|
Add req.host=
|
2014-01-07 21:09:01 +00:00 |
|