Artifact 336f94ad281d7a5aec2f9fa8648913fe95c99be30ddc61c8deaba0847c9be1ee:
- File
utils/ofhttp/OFHTTP.m
-
2023-10-15 14:55:50
— part of check-in
[12c09ef41e]
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: 31801) [annotate] [blame] [check-ins using] - 2023-10-15 14:57:05 — part of check-in [e2a818c0b5] on branch ofhttpd — Merge trunk into branch "ofhttpd" (user: js, size: 31801) [annotate] [blame] [check-ins using]
-
2023-10-15 14:55:50
— part of check-in
[12c09ef41e]
on branch trunk
— Add OFHTTPRequestMethodString()