Skip to content
Myr

header() example

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by visionmedia · committed by visionmedia · parent c4dc385 · Browse files · 1 file+7 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+7 added−0 removed

  • other:+7 added−0 removed

1 file+7 added−0 removed

modified:README.rdoc+7 added
51 unmodified lines
52 User.destroy(params('id')) ? 53 'User deleted' :54 'Failed to delete user'55 })56 57== Setting Headers5859 get ('foo', function(){60 header('Content-Type', 'text/html')61 '<p>bar</p>'62 })6364== License 6566(The MIT License)67
20 unmodified lines