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

Cannot set a request body for HTTP method DELETE #1972

Closed
dinhnguyenbao opened this issue Jun 13, 2023 · 1 comment
Closed

Cannot set a request body for HTTP method DELETE #1972

dinhnguyenbao opened this issue Jun 13, 2023 · 1 comment
Assignees
Labels
bug Confirmed bug that we should fix fixed
Milestone

Comments

@dinhnguyenbao
Copy link

This is my code:

Response response = Jsoup
                .connect(url)
                .method(org.jsoup.Connection.Method.DELETE)
                .headers(header)
                .requestBody(jsonBody)
                .userAgent("Mozilla")
                .followRedirects(true)
                .ignoreHttpErrors(true)
                .ignoreContentType(true)
                .timeout(TIMEOUT)
                .execute();
@jhy jhy self-assigned this Sep 9, 2023
@jhy jhy closed this as completed in 23573ef Sep 9, 2023
@jhy jhy added bug Confirmed bug that we should fix fixed labels Sep 9, 2023
@jhy jhy added this to the 1.16.2 milestone Sep 9, 2023
@jhy
Copy link
Owner

jhy commented Sep 9, 2023

Thanks, fixed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bug that we should fix fixed
Projects
None yet
Development

No branches or pull requests

2 participants