Closed duckinator closed 11 years ago
Okay, apparently I just fail at using Google sometimes. Looks like you want uri.request_uri
instead of uri.path
.
Sorry for the issue-spam. Didn't realize how simple of a fix it was when I originally opened this one. Closing because #41 has a fix.
I ran into this issue with Google Web Fonts. If it should be loading http://fonts.googleapis.com/css?family=Exo|Open+Sans:300italic,400italic,600italic,700italic,300,400,600,700, it instead loads http://fonts.googleapis.com/css. Not quite the same. ;)
The issue is in parser.rb#L442. It Requests
uri.path
without passinguri.query
. I'm not sure how you'd pass that to Net::HTTP.For anyone else who runs into this: My workaround is to require
open-uri
and changeload_uri!(url, opts)
toadd_block!(open(url).read, opts)
. It's not pretty, but it works for my purposes.