Name
ap_http_method — return the scheme for a request
Synopsis
const char *ap_http_method(request_rec *r)
Returns the default scheme for the type of request handled by
r
. In standard Apache this is always an HTTP
request, so the return is always http
; but in
Apache-SSL, for example, it depends on whether HTTP or HTTPS is in
use.
Get Apache: The Definitive Guide, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.