Compare commits

..

No commits in common. "master" and "v0.0.3" have entirely different histories.

11 changed files with 99 additions and 96 deletions

View File

@ -1,6 +1,6 @@
/**
* @Author: Echo
* @Email: 1711788888@qq.com
* @Author: fuxiao
* @Email: 576101059@qq.com
* @Date: 2021/8/14 4:11 下午
* @Desc: TODO
*/

View File

@ -1,6 +1,6 @@
/**
* @Author: Echo
* @Email: 1711788888@qq.com
* @Author: fuxiao
* @Email: 576101059@qq.com
* @Date: 2021/8/16 2:54 下午
* @Desc: TODO
*/
@ -11,7 +11,7 @@ import (
"errors"
"testing"
"git.echol.cn/loser/http"
"github.com/dobyte/http"
)
const token = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlc2MiOjE2MjgwNDAzMjYxNTQ2MzIwMDAsImV4cCI6MTYyODIyMDMyNiwiaWF0IjoxNjI4MDQwMzI2LCJpZCI6MX0.KM19c6URIih-5SyycYIjNAdSiPKxMQEz3DoROm0N3nw"

View File

@ -1,6 +1,6 @@
/**
* @Author: Echo
* @Email: 1711788888@qq.com
* @Author: fuxiao
* @Email: 576101059@qq.com
* @Date: 2021/8/26 1:59 下午
* @Desc: TODO
*/
@ -8,9 +8,10 @@
package http
import (
"git.echol.cn/loser/http/internal"
"os"
"strings"
"github.com/dobyte/http/internal"
)
var contentTypeToFileSuffix = map[string]string{

View File

@ -1,6 +1,6 @@
/**
* @Author: Echo
* @Email: 1711788888@qq.com
* @Author: fuxiao
* @Email: 576101059@qq.com
* @Date: 2021/8/26 5:00 下午
* @Desc: TODO
*/

View File

@ -1,6 +1,6 @@
/**
* @Author: Echo
* @Email: 1711788888@qq.com
* @Author: fuxiao
* @Email: 576101059@qq.com
* @Date: 2021/8/26 4:59 下午
* @Desc: TODO
*/

View File

@ -1,6 +1,6 @@
/**
* @Author: Echo
* @Email: 1711788888@qq.com
* @Author: fuxiao
* @Email: 576101059@qq.com
* @Date: 2021/8/26 4:51 下午
* @Desc: TODO
*/

View File

@ -1,6 +1,6 @@
/**
* @Author: Echo
* @Email: 1711788888@qq.com
* @Author: fuxiao
* @Email: 576101059@qq.com
* @Date: 2021/8/26 6:21 下午
* @Desc: TODO
*/

View File

@ -1,6 +1,6 @@
/**
* @Author: Echo
* @Email: 1711788888@qq.com
* @Author: fuxiao
* @Email: 576101059@qq.com
* @Date: 2021/8/16 3:47 下午
* @Desc: TODO
*/

View File

@ -1,6 +1,6 @@
/**
* @Author: Echo
* @Email: 1711788888@qq.com
* @Author: fuxiao
* @Email: 576101059@qq.com
* @Date: 2021/8/16 9:47 上午
* @Desc: request's middleware
*/

View File

@ -1,6 +1,6 @@
/**
* @Author: Echo
* @Email: 1711788888@qq.com
* @Author: fuxiao
* @Email: 576101059@qq.com
* @Date: 2021/8/16 9:40 上午
* @Desc: TODO
*/
@ -14,7 +14,6 @@ import (
"encoding/xml"
"errors"
"fmt"
"git.echol.cn/loser/http/internal"
"io"
"log"
"mime/multipart"
@ -24,6 +23,8 @@ import (
"regexp"
"strings"
"time"
"github.com/dobyte/http/internal"
)
const (

View File

@ -1,6 +1,6 @@
/**
* @Author: Echo
* @Email: 1711788888@qq.com
* @Author: fuxiao
* @Email: 576101059@qq.com
* @Date: 2021/8/15 4:56 下午
* @Desc: TODO
*/
@ -8,10 +8,11 @@
package http
import (
"git.echol.cn/loser/http/internal"
"io/ioutil"
"net/http"
"sync"
"github.com/dobyte/http/internal"
)
type Response struct {