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