Skip to content
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

Wrong localhost with url-retrieve backend on MacOS #76

Closed
Pitometsu opened this issue May 4, 2017 · 3 comments
Closed

Wrong localhost with url-retrieve backend on MacOS #76

Pitometsu opened this issue May 4, 2017 · 3 comments

Comments

@Pitometsu
Copy link

Example:

(request (format "http://localhost:%d%s" 8081 "/pnig") :sync t :parser 'buffer-string :timeout 2)

does not work, but 0.0.0.0 - does.

@Pitometsu
Copy link
Author

@tkf any updates here?

@titaniumbones
Copy link
Collaborator

Hi, I will not be able to fix this eaisly myself but if you have found a fix then I would appreciate a PR so that I can merge it and make it available to everyone.

@titaniumbones titaniumbones added the need info Can't address the problem wihtout more information label Nov 30, 2018
@dickmao dickmao removed the need info Can't address the problem wihtout more information label Jul 28, 2019
@dickmao
Copy link
Collaborator

dickmao commented Jul 28, 2019

I'm afraid hostname translation is not in request.el's bailiwick. Sorry.

(request "http://localhost:80" :sync t :parser 'buffer-string :timeout 2) did work for me on my Linux box.

@dickmao dickmao closed this as completed Jul 28, 2019
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

No branches or pull requests

3 participants