View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005680 | libmicrohttpd | external API | public | 2019-04-05 15:45 | 2019-09-04 07:06 |
Reporter | Marcello Stanisci | Assigned To | Christian Grothoff | ||
Priority | normal | Severity | trivial | Reproducibility | have not tried |
Status | closed | Resolution | no change required | ||
Summary | 0005680: A method to extract the URL path looks missing. | ||||
Description | The API exported by MHD does not seem to offer any method to get the 'path' component of a URL. Say the daemon got a request for "http://<host>/data?id=x", then it is not straightforward to extract the "/data" information from the usual "connection" object. What about offering a "MHD_get_path(connection)" method? | ||||
Tags | No tags attached. | ||||
|
You're given the path already on the main access handler callback. So for this iteration of the API (not microhttpd2), I would strongly suggest simply storing it in the application-specific context *if* you need it later. If this is not clear, let me know where it's needed and I'll help. |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-04-05 15:45 | Marcello Stanisci | New Issue | |
2019-04-05 23:42 | Christian Grothoff | Note Added: 0014262 | |
2019-04-05 23:42 | Christian Grothoff | Assigned To | => Christian Grothoff |
2019-04-05 23:42 | Christian Grothoff | Status | new => feedback |
2019-09-04 07:06 | Christian Grothoff | Severity | minor => trivial |
2019-09-04 07:06 | Christian Grothoff | Status | feedback => closed |
2019-09-04 07:06 | Christian Grothoff | Resolution | open => no change required |
2024-01-21 13:24 | Christian Grothoff | Category | libmicrohttpd API => external API |