Hi,

any news about it?
Should I create a JIRA and a PR that removes the IP replacement for
localhost?

Best regards,
Markus


Am Sa., 21. Dez. 2019 um 12:11 Uhr schrieb Markus Rathgeb <
[email protected]>:

> Hi all and thank you for your replies.
>
> > That JIRA references the TCK. I don't know off-hand if this translation
> of 127.0.0.1 to localhost would case a TCK test to fail if it was reverted.
>
> Okay, it is one thing to pass all TCK tests successfully.
>
> But do you not agree that if a code like
>
> return
> Response.created(uriInfo.getBaseUriBuilder().path("foo").path("bar").build()).build();
>
> should return a response with status 201 and a location that is using
> the same host as in the request?
>
> Do you consider it is correct to use another location in the response
> than in the request?
>
> What about the cross-origin problems?
>
> If you agree that a response for the host 127.0.0.1 should be replied
> using the host 127.0.0.1, then the test case needs to be fixed.
> Doesn't it?
>
> Best regards,
> Markus
>

Reply via email to