1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-12-22 04:02:04 +03:00

Rename rel_uri to local_uri (#197)

This commit is contained in:
bel
2015-09-29 22:45:24 +02:00
parent 73155eea3e
commit a6bcffcfc5
4 changed files with 42 additions and 39 deletions

View File

@@ -55,9 +55,11 @@ struct mg_connection; /* Handle for the individual connection */
struct mg_request_info {
const char *request_method; /* "GET", "POST", etc */
const char *request_uri; /* URL-decoded URI (absolute or relative,
* as in the request) */
const char *rel_uri; /* URL-decoded URI (relative) */
const char *uri; /* Deprecated: use rel_uri instead */
* as in the request) */
const char *local_uri; /* URL-decoded URI (relative). Can be NULL
* if the request_uri does not address a
* resource at the server host. */
const char *uri; /* Deprecated: use local_uri instead */
const char *http_version; /* E.g. "1.0", "1.1" */
const char *query_string; /* URL part after '?', not including '?', or
NULL */