| Summary: | sys-apps/usbutils-0.86-r1 - www.linux-usb.org/usb.ids is returned as a gzip stream | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | SCox <scox_nz> |
| Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | CC: | jer, rebecca.menessec |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://www.linux-usb.org/usb.ids | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
SCox
2010-02-17 10:04:35 UTC
Works for me: >---< astrid ~ # update-usbids --2010-02-18 03:26:55-- http://www.linux-usb.org/usb.ids Resolving www.linux-usb.org (www.linux-usb.org)... 216.34.181.97 Connecting to www.linux-usb.org (www.linux-usb.org)|216.34.181.97|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 389702 (381K) [text/plain] Saving to: `/usr/share/misc/usb.ids.new' 100%[=============================================>] 389,702 211K/s in 1.8s 2010-02-18 03:27:01 (211 KB/s) - `/usr/share/misc/usb.ids.new' saved [389702/389702] Done. >---< Do you have a special wgetrc or is lynx used instead of wget? and it works fine for me no `emerge --info`, no idea what's wrong with your local utils, no info ... *** Bug 307955 has been marked as a duplicate of this bug. *** *sighs* Yes, I have a system-wide wgetrc that was specifically crafted to mimic Firefox as closely as possible for anti-anti-"robot" purposes. (I don't do bulk spidering, but occasionally I need a file from a site that has heavy-handy "anti-leech" protection, and I want to retrieve the file with wget.) Anyhow, the relevant problem is: header = Accept-Encoding: gzip,deflate i'm not sure there's a flag to wget to force disable that ... wonder if we could tweak the code to do `file` on the file it downloaded and use that to determine whether we need to gzip it manually ... also, it might be useful to run wget with the option --header='Accept-Encoding: gzip,deflate' as this seems to cut the d/l size in half ... |