projects
/
mdref
/
mdref-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
mdref.json config
[mdref/mdref-http]
/
http
/
Env
/
Response
/
setContentType.md
1
# http\Env\Response http\Env\Response::setContentType(string $content_type)
2
3
Set the MIME content type of the response.
4
5
## Params:
6
7
* string $content_type
8
The response's content type.
9
10
## Returns:
11
12
* http\Env\Response, self.
13
14
## Throws:
15
16
* http\Exception\InvalidArgumentException