FAQ
I've seen several discussions about using mime/multipart along with
net/http/request to create multipart post requests (for instance, here:
https://groups.google.com/d/msg/golang-nuts/Zjg5l4nKcQ0/wWEw6rJNkJ8J) and
this blog post
(http://matt.aimonetti.net/posts/2013/07/01/golang-multipart-file-upload-example/),
but I haven't found any discussion of using a similar technique to do a
multipart get request for fast concurrent downloading.

I realize the content-length of the data to be downloaded would probably be
needed, but I was hoping to be able to do this in a similar way without
setting up ranged requests. Does anyone know of a way to do this or, if
not, what is an idiomatic way of achieving this in go?

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

  • Tamás Gulácsi at Aug 5, 2013 at 8:03 am
    Sorry, but what is a multipart GET? GET should not have body... What is the service (server, other end)?

    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Randall McPherson at Aug 5, 2013 at 10:08 pm
    Sorry, I phrased my question incorrectly. I was asking if it was possible
    to use a multipart reader to do automatically do ranged http get requests
    (with the range header) to download parts concurrently. Looking at the
    documentation for the mime/multipart package, I think the answer is no.
    On Monday, August 5, 2013 4:03:40 AM UTC-4, Tamás Gulácsi wrote:

    Sorry, but what is a multipart GET? GET should not have body... What is
    the service (server, other end)?
    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Brad Fitzpatrick at Aug 6, 2013 at 12:12 am
    I'm still not quite sure what you're trying to do.


    On Mon, Aug 5, 2013 at 3:08 PM, Randall McPherson wrote:

    Sorry, I phrased my question incorrectly. I was asking if it was possible
    to use a multipart reader to do automatically do ranged http get requests
    (with the range header) to download parts concurrently. Looking at the
    documentation for the mime/multipart package, I think the answer is no.

    On Monday, August 5, 2013 4:03:40 AM UTC-4, Tamás Gulácsi wrote:

    Sorry, but what is a multipart GET? GET should not have body... What is
    the service (server, other end)?
    --
    You received this message because you are subscribed to the Google Groups
    "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an
    email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.

    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Jesse McNelis at Aug 6, 2013 at 4:56 am

    On Tue, Aug 6, 2013 at 8:08 AM, Randall McPherson wrote:

    Sorry, I phrased my question incorrectly. I was asking if it was possible
    to use a multipart reader to do automatically do ranged http get requests
    (with the range header) to download parts concurrently. Looking at the
    documentation for the mime/multipart package, I think the answer is no.

    If you're trying to do pipelining then you probably want to look at SPDY
    instead. Which does basically what you're describing.



    --
    =====================
    http://jessta.id.au

    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedAug 5, '13 at 5:03a
activeAug 6, '13 at 4:56a
posts5
users4
websitegolang.org

People

Translate

site design / logo © 2022 Grokbase