Hallo,
why I can't add a Authorization header field to my get request?
AndroidHttpClient client = AndroidHttpClient.newInstance(useragent);
HttpParams httpParams = new BasicHttpParams();
HttpConnectionParams.setConnectionTimeout(httpParams, 15 * 1000);
found an example
http://www.android-dev-faq.com/2011/11/how-to-make-httpdigest-client.html
Am 01.04.12 20:25, schrieb Ralph Bergmann | the4thFloor.eu:
Hallo,
why I can't add a Authorization header field to my get request?
AndroidHttpClient client =
On Mon, Apr 2, 2012 at 4:15 AM, Ralph Bergmann | the4thFloor.eu
ra...@the4thfloor.eu wrote:
found an example
http://www.android-dev-faq.com/2011/11/how-to-make-httpdigest-client.html
The implementation in Android is however broken: it uses a fixed nonce of 1.
If you server is actually
You need to add Basic in front of the Authorization parameter (if
you are using basic auth.). The base64 encoded string also needs both
username and password.
This is from a working example:
method.addHeader(Authorization, Basic + Base64.encodeBytes(new
String(this.username + : +
On Mon, Apr 2, 2012 at 10:10 AM, Nikolay Elenkov
nikolay.elen...@gmail.com wrote:
On Mon, Apr 2, 2012 at 4:15 AM, Ralph Bergmann | the4thFloor.eu
ra...@the4thfloor.eu wrote:
found an example
http://www.android-dev-faq.com/2011/11/how-to-make-httpdigest-client.html
The implementation in
On Mon, Apr 2, 2012 at 1:13 PM, Michael Banzon mich...@banzon.dk wrote:
You need to add Basic in front of the Authorization parameter (if
you are using basic auth.). The base64 encoded string also needs both
username and password.
This is from a working example:
I am sure that Ralph will be absolutely ecstatic about that - can you
imagine that - a working example that require less code/library
inclusion compared to my app - absolutely magnificent!
Personally the first part (working) would be my clear focus.
Have a nice day ;-)
On Mon, Apr 2, 2012 at
On Mon, Apr 2, 2012 at 1:54 PM, Michael Banzon mich...@banzon.dk wrote:
I am sure that Ralph will be absolutely ecstatic about that - can you
imagine that - a working example that require less code/library
inclusion compared to my app - absolutely magnificent!
I didn't post the example, but I
8 matches
Mail list logo