Kevin Sawicki

Results 84 comments of Kevin Sawicki

Are you using the `StringEntity` class from Apache HttpComponents?

Oh okay, your previous comment was: > I'm using method > request.part(name , new StringEntity(name, body); Which let me to believe you were already trying to use `StringEntity`. So you...

Can you include an example code snippet that is failing for you?

@iplatonov I would like to add this as a first-class method to the `HttpRequest` class API. Can you confirm if calling `request.part(name ,null, "text/plain; charset=UTF-8" , value);` also works for...

Hi, what OS are you on and what version of Java are you using?

@henryju any ideas on this one?

Hmm, I'm really not sure why this is failing, granted I've never ran this on a Windows machine but on my Mac and on Travis CI the tests are passing...

Can you provide the out of memory exception stack trace so I can see where in `HttpRequest` it is occurring?

Are you calling `HttpRequest.bufferSize(bufferSize)` by any chance?

Perhaps try using `stream()`/`reader()` instead, what JSON library are you using? It probably supports streaming using a `InputStreamReader` and/or `InputStream` instead of parsing one big `String`.