Skip to content

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