Browse Source
rather than reusing ReadHTTPStatus() from the client mode. The following additional HTTP request validations are added, both in line with existing HTTP client practice: 1) HTTP method must be GET or POST. Most clients use POST, some use GET. Either way, this continues to work. 2) HTTP URI must start with "/" character. Normal URI is "/" (a 1-char string), so this is fine.0.8
Jeff Garzik
12 years ago
committed by
Jeff Garzik
1 changed files with 41 additions and 4 deletions
Loading…
Reference in new issue