java.lang.NullPointerException at org.apache.http.entity.StringEntity.init(StringEntity.java:70

2012-05-25 Thread Michael.Fankanowsky
Hi all, I receive a NullPointerException when I'm doing this: HttpPost method = new HttpPost(someUri); ContentType ct = ContentType.create(text/xml); StringEntity entity = new StringEntity(someString, ct); method.setEntity(entity); The javadoc says that parameter charset is optional for

Re: POST Request How to enable Chunk Size

2012-05-25 Thread Oleg Kalnichevski
On Thu, 2012-05-24 at 15:13 -0700, anr wrote: DEBUG org.apache.http.wire - 800[\r][\n] org.apache.http.wire - 800[\r][\n] CoreConnectionPNames.SOCKET_BUFFER_SIZE CoreConnectionPNames.MIN_CHUNK_LIMIT How to change the transfer encoding chunk size when request is posted. I want to set