Skip to content

Commit

Permalink
Add a note for the example in Setting Custom Headers
Browse files Browse the repository at this point in the history
  • Loading branch information
agis committed Nov 15, 2012
1 parent 08bf549 commit 168f5b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions guides/source/action_controller_overview.md
Expand Up @@ -616,6 +616,8 @@ If you want to set custom headers for a response then `response.headers` is the
response.headers["Content-Type"] = "application/pdf"
```

Note: in the above case it would make more sense to use the `content_type` setter directly.

HTTP Authentications
--------------------

Expand Down

0 comments on commit 168f5b1

Please sign in to comment.