reverseproxy icon indicating copy to clipboard operation
reverseproxy copied to clipboard

multipart form

Open MasterDimmy opened this issue 8 years ago • 0 comments

this doesnt work with multipart form you can test to forward to http://www.md5online.org/md5-encrypt.html

code:

package main

import (
    "net/http"
    "net/url"
    "github.com/cssivision/reverseproxy"
)

func main() {
    http.ListenAndServe(":9595", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
        path, err := url.Parse("http://www.md5online.org")
        if err != nil {
            panic(err)
            return
        }
        proxy := reverseproxy.NewReverseProxy(path)
        proxy.ServeHTTP(w, r)
    }))
}

it should show md5 for input value, but we go "bad format". The same on other servers.

MasterDimmy avatar Aug 31 '17 14:08 MasterDimmy