-
Notifications
You must be signed in to change notification settings - Fork 16
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
Implement support for HEAD requests #619
Conversation
Generate changelog in
|
GET, | ||
HEAD, | ||
PATCH, | ||
POST, | ||
PUT, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorted
...ache-hc4-client/src/main/java/com/palantir/dialogue/hc4/ApacheHttpClientBlockingChannel.java
Show resolved
Hide resolved
Lets add the response type validation, then looks good 👍 |
} catch (IOException e) { | ||
throw new SafeRuntimeException("Failed to get response stream", e); | ||
HttpEntity entity = response.getEntity(); | ||
if (entity != null) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice cheeky little bugfix!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test found a NPE bug :-]
Released 1.10.0 |
==COMMIT_MSG==
Implement support for HEAD requests. This allows dialogue channels to replace existing jaxrs client infrastructure.
==COMMIT_MSG==