-
Notifications
You must be signed in to change notification settings - Fork 28
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
Auto-detect host wire #19
Comments
@g4s8/z this project will fix the problem faster if you donate a few dollars to it; just click here and pay via Stripe, it's very fast, convenient and appreciated; thanks a lot! |
@g4s8 we can make something like |
@yegor256 would |
@llorllale why not? |
@yegor256 ok, agreed, Refs: |
@0crat in |
@llorllale Job #19 is now in scope, role is |
@g4s8 I think the solution for this problem should be reversed: it should be a request that inserts that header, not a It is very common for the |
@llorllale if I understand correctly, |
@llorllale Right now, it could not be reversed. Wire encapsulates host and port. How it coulde be done? Send method has one argument which is a input. I do not think that reading first line and parsing it according to http rules is a good idea. |
@Iprogrammerr I agree As I said in #19 (comment), the I agree that it's an inconvenience (btw - the first example in #19 (comment) contains an error: the |
@0crat refuse |
@llorllale The user @iprogrammerr/z resigned from #19, please stop working. Reason for job resignation: Order was cancelled |
@0crat out |
@llorllale Job |
@llorllale The job #19 is now out of scope |
It's not very convenient to write a host two times (first in wire, second in request):
I think a wire should be able to read host value from request
Host
header:The text was updated successfully, but these errors were encountered: