ObjFW  Check-in [12c09ef41e]

Overview
Comment: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.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 12c09ef41ec35c30d966670daaa63fdb34d283c7615d8176cba30ecdf7917a2a
User & Date: js on 2023-10-15 14:55:50
Other Links: manifest | tags
Context
2023-10-15
14:59
macros.h: Add missing #else check-in: f2891af000 user: js tags: trunk
14:57
Merge trunk into branch "ofhttpd" Leaf check-in: e2a818c0b5 user: js tags: ofhttpd
14:55
Add OFHTTPRequestMethodString() check-in: 12c09ef41e user: js tags: trunk
14:53
macros.h: Add OF_DEPRECATED check-in: b84438dcfd user: js tags: trunk
Changes