[mythtv-users] CVS wget gzip problem

Brad Fritz brad-mythtv at fritzfam.com
Tue May 11 13:15:52 EDT 2004


Simon,

On Tue, May 11, 2004 at 05:15:17PM +0100, Simon Kilvington wrote:

> this looks like the problem:
> 
> HTTP request sent, awaiting response... 401 Unauthorized

That is normal behavior.  See my comments further below...

 
> do you need a username/password either for zap2it.com or for any web
> proxy you have to go through?

[..]
> >>Connecting to datadirect.webservices.zap2it.com[206.18.98.160]:80...

wget makes the initial HTTP request to datadirect...


> >>connected.
> >>HTTP request sent, awaiting response... 401 Unauthorized

...and the HTTP response has a 401 status code so the HTTP client
knows to send credentials.


> >>Connecting to datadirect.webservices.zap2it.com[206.18.98.160]:80...
> >>connected.

wget (or the code that calls it) responded to the 401 status by
connecting a second time and sending credentials.


> >>HTTP request sent, awaiting response... 200 OK

The 200 status indicates datadirect authorized the credentials and
started sending data in the message body.


> >>Length: unspecified [text/xml]
> >>
> >>   [<=>
> >>] 0             --.--K/s
> >>gzip: stdin: not in gzip format
> >>   [ <=>
> >>] 33,580        --.--K/s

Looks like there was some data (maybe 32k?)...it just wasn't in gzip
format.

--Brad




More information about the mythtv-users mailing list