FAQ

On 2012/09/25 16:22:59, bradfitz wrote:
Wish this had a test, but there's not a simple way to modify an existing
test to cover this, so I'm happy that "go get" now works via a proxy.
yes, i didn't see a simple way as well. it would be nice to have a proxy
implementation and i think it's not feasible to use an open proxy in the
web for testing that.

cheers..

http://codereview.appspot.com/6570045/

Search Discussions

  • Brad Fitzpatrick at Sep 26, 2012 at 4:19 pm

    On Wed, Sep 26, 2012 at 5:19 AM, wrote:
    On 2012/09/25 16:22:59, bradfitz wrote:

    Wish this had a test, but there's not a simple way to modify an existing
    test to cover this, so I'm happy that "go get" now works via a proxy.
    yes, i didn't see a simple way as well. it would be nice to have a proxy
    implementation and i think it's not feasible to use an open proxy in the
    web for testing that.
    shouldn't be hard with httputil's reverse proxy code. want to work on one
    to be used in the tests? then we can pass it flags to have a "fake DNS"
    mode where certain hostnames are hard-coded to be localhost for tests.
  • Christian Himpel at Sep 26, 2012 at 4:44 pm

    On Wed, Sep 26, 2012 at 5:25 PM, Brad Fitzpatrick wrote:
    shouldn't be hard with httputil's reverse proxy code. want to work on one
    to be used in the tests? then we can pass it flags to have a "fake DNS"
    mode where certain hostnames are hard-coded to be localhost for tests.
    cool, if it's not too urgent to have a test here, i'd like to take a
    look when i have some spare time.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedSep 26, '12 at 12:19p
activeSep 26, '12 at 4:44p
posts3
users2
websitegolang.org

People

Translate

site design / logo © 2022 Grokbase