hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From khiem nguyen <khi...@googlemail.com>
Subject null/empty value in request string
Date Wed, 29 Jun 2011 08:15:45 GMT
hi
i have a post request like this:

param1=value1&param2=&param3=value3

if i put these into a ArrayList<NameValuePair> for a POST, should the value
of param2 an empty-string or should it be null ? does defaultHttpClient
handle these 2 cases differently ?

thanx

cheers

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message