Differences From Artifact [325ef4384d]:
- File
src/OFHTTPClient.m
— part of check-in
[d375061886]
at
2018-02-27 20:36:22
on branch trunk
— OFHTTP{Client,Server}: Rename body to requestBody
This makes it more clear that this has nothing to do with the body of
the response, as the body of the response is read from the
OFHTTPResponse itself. (user: js, size: 30627) [annotate] [blame] [check-ins using]
To Artifact [b38762c50f]:
- File src/OFHTTPClient.m — part of check-in [a456f4d39d] at 2018-03-11 20:04:19 on branch trunk — OFHTTPClient: Only throw away if we actually can (user: js, size: 30703) [annotate] [blame] [check-ins using]
︙ | |||
677 678 679 680 681 682 683 | 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 | - + - + + | - (void)start { OFURL *URL = [_request URL]; OFTCPSocket *sock; /* Can we reuse the last socket? */ |
︙ | |||
931 932 933 934 935 936 937 | 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 | - - - - - - - - - - - + + + + + + + + + | return [_socket readIntoBuffer: buffer length: length]; /* Content-Length */ if (!_chunked) { size_t ret; |
︙ |