Skip to content

Get Full URL issue #208

@binhvq

Description

@binhvq

I want to retrieve the domain and path of requests, but I'm unable to do so. When attempting to get the full URL, the result only includes the path without the netloc or scheme.

I would like a solution that allows me to retrieve the complete URL, including the scheme, netloc, and path.

I've explored other methods to extract the complete URL, but none have successfully provided all the components (scheme, netloc, and path).

Currently, the issue is that only the path is returned, while the netloc and scheme are missing. This limits the functionality I need.

Request: http://domain1.com:8000/test-url
req.get_full_url
Result: /test-url

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions