Differences From Artifact [684e137d81]:
- File src/OFHTTPServer.m — part of check-in [e7ab06503c] at 2022-09-28 21:40:00 on branch trunk — Rename OFUR{L -> I} in preparation for URI support (user: js, size: 20020) [annotate] [blame] [check-ins using]
To Artifact [e75cf57b42]:
- File
src/OFHTTPServer.m
— part of check-in
[3e455c4839]
at
2022-10-11 19:27:09
on branch trunk
— OFURI: Make scheme and path nonnull
This is as per the RFC, which says the scheme and path can never be
missing, while the path can be empty. (user: js, size: 20016) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
530 531 532 533 534 535 536 | } [_host release]; _host = [_server.host copy]; _port = [_server port]; } | | < | 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 | } [_host release]; _host = [_server.host copy]; _port = [_server port]; } URI = [OFMutableURI URIWithScheme: @"http"]; URI.host = _host; if (_port != 80) URI.port = [OFNumber numberWithUnsignedShort: _port]; @try { if ((pos = [_path rangeOfString: @"?"].location) != OFNotFound) { |
︙ | ︙ |