curl-and-python

Re: Help converting curl command to pycurl

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 25 May 2005 23:04:08 +0200 (CEST)

On Wed, 25 May 2005, Peter Schott wrote:

> Contents of f1 gives me a 401 error.

401 means the server denied you access since you lack authentication (header).

curl -u or pycurl's USERPWD option and possibly the authentication method. The
response header of the response with the 401 code will tell you which method
it wants.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
_______________________________________________
http://cool.haxx.se/mailman/listinfo/curl-and-python
Received on 2005-05-25