8000 requestContentType is added as a argument to encode method by rkaw · Pull Request #32 · jgritman/httpbuilder · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

requestContentType is added as a argument to encode method #32

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rkaw
Copy link
@rkaw rkaw commented May 25, 2014

PUT and POST fail with groovy.lang.MissingMethodException if requestContentType is other than URLENC.

Sample stacktrace when requestContentType set to XML:
groovy.lang.MissingMethodException: No signature of method: groovyx.net.http.EncoderRegistry.encodeXML() is applicable for argument types: (java.util.LinkedHashMap) values: [[status:HTTPBuilder unit test was run on Sun May 25 12:37:24 CEST 2014, ...]]

jja added a commit to NCAR/httpbuilder that referenced this pull request Aug 11, 2020
jja added a commit to NCAR/httpbuilder that referenced this pull request Aug 11, 2020
update some URLs but mostly this means @Ignore-ing the dead external websites

(...this codes needs to run its own http(s) server for testing...)

also restored the single-arg EncoderRegistry.encodeForm(Map)
  which was removed by jgritman#32 rkaw:PUT_POST_ContentType
  when they said they were just adding the 2-arg version
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

Successfully merging this pull request may close these issues.

1 participant
0