Artifact c229043b212ab4be9764a2eb99bc5c825b61812ee6edc34da7624efd98e34460:
- File
src/OFHTTPServer.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: 20104) [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: 20104) [annotate] [blame] [check-ins using]
-
2023-10-15 14:55:50
— part of check-in
[12c09ef41e]
on branch trunk
— Add OFHTTPRequestMethodString()