Skip to content

Add getFullUri #74

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add getFullUri #74

wants to merge 1 commit into from

Conversation

k-bx
Copy link

@k-bx k-bx commented Sep 25, 2015

This might not look "perfect" in terms of API, so this PR is rather a starting point for a question in advice on how to do this best.

I need to debug, which URL am I querying, and currently there seems to be no way to just print URI with parameters that will be requested.

I have to admit, I couldn't get down to the very http-client source which does the request itself, so I can't say for sure if this show (getRequestUri req) == actual requested uri, still, this function is useful enough to work for me, so I think it might be fine as is already.

Thanks.

@k-bx
Copy link
Author

k-bx commented Oct 26, 2015

As an idea, it could be very useful to have a way to get a curl string for any request (POST, GET and others).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant