Differences From Artifact [163a3d1bed]:
- File src/OFHTTPRequest.h — part of check-in [772e8b8f78] at 2023-08-09 22:39:27 on branch trunk — OFValue: Improve -[description] (user: js, size: 4321) [annotate] [blame] [check-ins using] [more...]
To Artifact [ff8f88f432]:
- File
src/OFHTTPRequest.h
— part of check-in
[12c09ef41e]
at
2023-10-15 14:55:50
on branch trunk
— Add OFHTTPRequestMethodString()
This deprecates OFHTTPRequestMethodName(), which returns a C string.
APIs should avoid C strings as much as possible.This function was initially only used internally, where this was fine.
However, when it was made public, it should have been converted to
OFString at the same time.Adds OFHTTPRequestMethodParseString() for consistency, which behaves the
same as OFHTTPRequestMethodParseName() and deprecates it. (user: js, size: 5278) [annotate] [blame] [check-ins using] [more...]
︙ | |||
136 137 138 139 140 141 142 | 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 | - + - - + + - + + + + + + + + + + + + + + + + + + + + + + + + - + + | - (instancetype)init OF_UNAVAILABLE; @end #ifdef __cplusplus extern "C" { #endif /** |