Overview
| Comment: | OFHTTPClient: Correctly handle empty path |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
b804fc2d167f4a260cdd9f84939e0a90 |
| User & Date: | js on 2022-10-22 12:09:35 |
| Other Links: | manifest | tags |
Context
|
2022-10-22
| ||
| 12:53 | Minor documentation improvement (check-in: 6ddb333e74 user: js tags: trunk) | |
| 12:09 | OFHTTPClient: Correctly handle empty path (check-in: b804fc2d16 user: js tags: trunk) | |
|
2022-10-21
| ||
| 22:15 | OFSPXStreamSocket: Fix wrong socket type (check-in: 005cf5cd96 user: js tags: trunk) | |
Changes
Modified src/OFHTTPClient.m from [fbd23d3190] to [e887f99bf5].
| ︙ | ︙ | |||
122 123 124 125 126 127 128 | OFString *user = URI.user, *password = URI.password; OFMutableString *requestString; OFMutableDictionary OF_GENERIC(OFString *, OFString *) *headers; bool hasContentLength, chunked; OFEnumerator OF_GENERIC(OFString *) *keyEnumerator, *objectEnumerator; OFString *key, *object; | | | 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 | OFString *user = URI.user, *password = URI.password; OFMutableString *requestString; OFMutableDictionary OF_GENERIC(OFString *, OFString *) *headers; bool hasContentLength, chunked; OFEnumerator OF_GENERIC(OFString *) *keyEnumerator, *objectEnumerator; OFString *key, *object; if (URI.path.length > 0) path = URI.percentEncodedPath; else path = @"/"; requestString = [OFMutableString stringWithFormat: @"%s %@", OFHTTPRequestMethodName(method), path]; |
| ︙ | ︙ |