From: Daniel Hartwig <mandyke@gmail.com>
To: Catonano <catonano@gmail.com>
Cc: guile-user@gnu.org
Subject: Re: salutations and web scraping
Date: Wed, 25 Jan 2012 11:56:13 +0800 [thread overview]
Message-ID: <CAN3veRfgy9PkAAThuQ-b2_WUYyMMCfF4Z_vyqpmeS8=3T+831A@mail.gmail.com> (raw)
In-Reply-To: <CAJ98PDyxifTAUVQFPt_w6ytyQBH9Qd7yVtiYB03ktAf5MnB9AQ@mail.gmail.com>
Hi there
On 25 January 2012 09:41, Catonano <catonano@gmail.com> wrote:
>
> It happens that the response I get from the server of the radio station is
> chuncked (that is (transfer-encoding (chuncked)) )
>
> so when I issue the (htt-get uri) instrucion I get
>
> $2 = #<<response> etc.
> $3 = #f
>
> that is no page source
>
> Is there a workround ? Or shall I wait for this issue to be fixed ? I could
> try to take a look at the code myself, but I'm an absolute scheme beginner
>
Chunked encoding was introduced in HTTP 1.1 so you can try using 1.0
for your request:
(http-get uri #:version '(1 . 0) ...)
or
(build-request uri #:version '(1 . 0) ...)
Otherwise, Ian Price recently posted a patch adding support for
chunked encoding which you might like to try:
http://thread.gmane.org/gmane.lisp.guile.user/8931/focus=8935
Regards
next prev parent reply other threads:[~2012-01-25 3:56 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-30 22:58 salutations and web scraping Catonano
2012-01-10 21:46 ` Andy Wingo
2012-01-16 20:06 ` Catonano
2012-01-24 12:47 ` Catonano
2012-01-24 13:07 ` Andy Wingo
2012-01-24 14:17 ` Catonano
2012-01-25 1:41 ` Catonano
2012-01-25 3:56 ` Daniel Hartwig [this message]
2012-01-25 4:57 ` Catonano
2012-01-25 9:07 ` Andy Wingo
2012-01-25 17:23 ` Catonano
2012-01-27 12:18 ` Catonano
2013-01-07 22:23 ` Andy Wingo
2013-01-30 13:48 ` Catonano
2012-01-25 8:57 ` Andy Wingo
2012-01-29 14:23 ` Catonano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAN3veRfgy9PkAAThuQ-b2_WUYyMMCfF4Z_vyqpmeS8=3T+831A@mail.gmail.com' \
--to=mandyke@gmail.com \
--cc=catonano@gmail.com \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).