Changeset 4ff9608cdb1365ae2aa16b1e63e8fbcb4495b685
- Timestamp:
- 09/29/09 02:55:59
(4 years ago)
- Author:
- Theo Schlossnagle <jesus@omniti.com>
- git-committer:
- Theo Schlossnagle <jesus@omniti.com> 1254192959 +0000
- git-parent:
[60094181c3ec47eb97e0989cc0682715e347a4dc]
- git-author:
- Theo Schlossnagle <jesus@omniti.com> 1254192959 +0000
- Message:
the code is a number, make it so
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| ra1cce74 |
r4ff9608 |
|
| 56 | 56 | self.protocol, self.code = string.match(str, "^HTTP/(%d.%d)%s+(%d+)%s+") |
|---|
| 57 | 57 | if self.protocol == nil then error("malformed HTTP response") end |
|---|
| | 58 | self.code = tonumber(self.code) |
|---|
| 58 | 59 | self.headers = {} |
|---|
| 59 | 60 | while true do |
|---|