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

use com.alibaba.nacos.naming.misc.HttpClient#request happen error #2939

Closed
Maijh97 opened this issue Jun 2, 2020 · 0 comments
Closed

use com.alibaba.nacos.naming.misc.HttpClient#request happen error #2939

Maijh97 opened this issue Jun 2, 2020 · 0 comments

Comments

@Maijh97
Copy link
Collaborator

Maijh97 commented Jun 2, 2020

Issue Description

Type: bug report or feature request

Describe what happened (or what feature you want)

When HttpClient uses java.net.URLConnection#getOutputStream to write body, doOutput is not set to true, it will cause an exception
cannot write to a URLConnection if doOutput=false - call setDoOutput(true)

Describe what you expected to happen

How to reproduce it (as minimally and precisely as possible)

Tell us your environment

Anything else we need to know?

@Maijh97 Maijh97 mentioned this issue Jun 2, 2020
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant