Commit Graph

4 Commits

Author SHA1 Message Date
fengmk2 dd3a0fcdfa make sure req.host and req.hostname return strict string
Should return empty string when no host present.
2015-03-30 17:44:32 +08:00
dead_horse eff4886cd8 ocd 2014-11-16 21:52:14 +08:00
dead_horse e791100993 add more test case, fix req.idempotent 2014-07-06 16:52:02 +08:00
dead_horse 72a9b69146 add request.hostname(getter), fixed #224
make request.host and request.hostname work as node url lib
http://nodejs.org/api/url.html#url_url
this commit will change older request.host(getter)
2014-02-26 14:03:05 +08:00