diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-04-11 15:15:36 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-04-11 15:15:36 -0700 |
commit | 8553e8a15d0ff3715fb3a8a02062de9dcb9339b6 (patch) | |
tree | 14b61df7a76259583c24bbddde1918744f2ce9d4 /doc | |
parent | 57fbb627cadb356bc335274d203c21c71d022b5d (diff) | |
download | node-new-8553e8a15d0ff3715fb3a8a02062de9dcb9339b6.tar.gz |
Add incoming.httpVersion
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api.markdown | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/api.markdown b/doc/api.markdown index a9c3e06954..525743c3a4 100644 --- a/doc/api.markdown +++ b/doc/api.markdown @@ -1448,7 +1448,9 @@ Read only. ### request.httpVersion The HTTP protocol version as a string. Read only. Examples: -`'1.1'`, `'1.0'` +`'1.1'`, `'1.0'`. +Also `request.httpVersionMajor` is the first integer and +`request.httpVersionMinor` is the second. ### request.setEncoding(encoding='binary') @@ -1674,6 +1676,8 @@ The 3-digit HTTP response status code. E.G. `404`. The HTTP version of the connected-to server. Probably either `'1.1'` or `'1.0'`. +Also `response.httpVersionMajor` is the first integer and +`response.httpVersionMinor` is the second. ### response.headers |