You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After trying to use your package, I've stumbled upon a peculiar issue:
I'm trying to send http requests between my servers, the request succeeds (200) but the content returned is not the one I expect.
I noticed that once I run request.body() the request turns from https://www.MY_SITE.com/blabla into https://m.MY_SITE.com/blabla.
Debuging it further in your code I noticed that the switch happens in the class com.github.kevinsawicki.http.HttpRequest in the method String header(final String name) in the line connection.getHeaderField(name)
Can you please explain this and provide a solution?
this is my dependency: <dependency><groupId>com.github.kevinsawicki</groupId><artifactId>http-request</artifactId><version>6.0</version></dependency>
The text was updated successfully, but these errors were encountered:
hi,
After trying to use your package, I've stumbled upon a peculiar issue:
I'm trying to send http requests between my servers, the request succeeds (200) but the content returned is not the one I expect.
I noticed that once I run
request.body()
the request turns fromhttps://www.MY_SITE.com/blabla
intohttps://m.MY_SITE.com/blabla
.Debuging it further in your code I noticed that the switch happens in the class
com.github.kevinsawicki.http.HttpRequest
in the methodString header(final String name)
in the lineconnection.getHeaderField(name)
Can you please explain this and provide a solution?
this is my dependency:
<dependency><groupId>com.github.kevinsawicki</groupId><artifactId>http-request</artifactId><version>6.0</version></dependency>
The text was updated successfully, but these errors were encountered: