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

Implement support for HEAD requests #619

Merged
merged 3 commits into from
Apr 6, 2020

Conversation

carterkozak
Copy link
Contributor

==COMMIT_MSG==
Implement support for HEAD requests. This allows dialogue channels to replace existing jaxrs client infrastructure.
==COMMIT_MSG==

@changelog-app
Copy link

changelog-app bot commented Apr 6, 2020

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Implement support for HEAD requests. This allows dialogue channels to replace existing jaxrs client infrastructure.

Check the box to generate changelog(s)

  • Generate changelog entry

@carterkozak carterkozak requested review from iamdanfox and ferozco April 6, 2020 18:19
GET,
HEAD,
PATCH,
POST,
PUT,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorted

@ferozco
Copy link
Contributor

ferozco commented Apr 6, 2020

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) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice cheeky little bugfix!

Copy link
Contributor Author

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 :-]

@bulldozer-bot bulldozer-bot bot merged commit 61e8b7f into develop Apr 6, 2020
@bulldozer-bot bulldozer-bot bot deleted the ckozak/support_head_requests branch April 6, 2020 18:52
@svc-autorelease
Copy link
Collaborator

Released 1.10.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants