[cups.development] How to deal with HTTP_UNAUTHORIZED

Mangesh Kute kutemangesh at gmail.com
Mon Dec 28 22:59:33 PST 2009


Hi,

On receiving "HTTP_UNAUTHORIZED' message from IPP server,
I use "httpSetAuthString" to set Auth string encoded using
httpEncode64_2 with scheme Basic.
I also set HTTP_AUTHORIZATION_FIELD using httpSetField.
Then call htppUpdate with same http object.
But every time it returns with status HTTP_UNAUTHORIZED.

How to deal with this ?
Am I following wrong steps ?

Can someone please explain the flow ?
I am using CUPS 1.3.9

Regards,
Mangesh





More information about the cups mailing list