Compare commits
No commits in common. "master" and "v0.0.3" have entirely different histories.
@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* @Author: Echo
|
* @Author: fuxiao
|
||||||
* @Email: 1711788888@qq.com
|
* @Email: 576101059@qq.com
|
||||||
* @Date: 2021/8/14 4:11 下午
|
* @Date: 2021/8/14 4:11 下午
|
||||||
* @Desc: TODO
|
* @Desc: TODO
|
||||||
*/
|
*/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* @Author: Echo
|
* @Author: fuxiao
|
||||||
* @Email: 1711788888@qq.com
|
* @Email: 576101059@qq.com
|
||||||
* @Date: 2021/8/16 2:54 下午
|
* @Date: 2021/8/16 2:54 下午
|
||||||
* @Desc: TODO
|
* @Desc: TODO
|
||||||
*/
|
*/
|
||||||
@ -11,7 +11,7 @@ import (
|
|||||||
"errors"
|
"errors"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"git.echol.cn/loser/http"
|
"github.com/dobyte/http"
|
||||||
)
|
)
|
||||||
|
|
||||||
const token = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlc2MiOjE2MjgwNDAzMjYxNTQ2MzIwMDAsImV4cCI6MTYyODIyMDMyNiwiaWF0IjoxNjI4MDQwMzI2LCJpZCI6MX0.KM19c6URIih-5SyycYIjNAdSiPKxMQEz3DoROm0N3nw"
|
const token = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlc2MiOjE2MjgwNDAzMjYxNTQ2MzIwMDAsImV4cCI6MTYyODIyMDMyNiwiaWF0IjoxNjI4MDQwMzI2LCJpZCI6MX0.KM19c6URIih-5SyycYIjNAdSiPKxMQEz3DoROm0N3nw"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* @Author: Echo
|
* @Author: fuxiao
|
||||||
* @Email: 1711788888@qq.com
|
* @Email: 576101059@qq.com
|
||||||
* @Date: 2021/8/26 1:59 下午
|
* @Date: 2021/8/26 1:59 下午
|
||||||
* @Desc: TODO
|
* @Desc: TODO
|
||||||
*/
|
*/
|
||||||
@ -8,9 +8,10 @@
|
|||||||
package http
|
package http
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.echol.cn/loser/http/internal"
|
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
"github.com/dobyte/http/internal"
|
||||||
)
|
)
|
||||||
|
|
||||||
var contentTypeToFileSuffix = map[string]string{
|
var contentTypeToFileSuffix = map[string]string{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* @Author: Echo
|
* @Author: fuxiao
|
||||||
* @Email: 1711788888@qq.com
|
* @Email: 576101059@qq.com
|
||||||
* @Date: 2021/8/26 5:00 下午
|
* @Date: 2021/8/26 5:00 下午
|
||||||
* @Desc: TODO
|
* @Desc: TODO
|
||||||
*/
|
*/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* @Author: Echo
|
* @Author: fuxiao
|
||||||
* @Email: 1711788888@qq.com
|
* @Email: 576101059@qq.com
|
||||||
* @Date: 2021/8/26 4:59 下午
|
* @Date: 2021/8/26 4:59 下午
|
||||||
* @Desc: TODO
|
* @Desc: TODO
|
||||||
*/
|
*/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* @Author: Echo
|
* @Author: fuxiao
|
||||||
* @Email: 1711788888@qq.com
|
* @Email: 576101059@qq.com
|
||||||
* @Date: 2021/8/26 4:51 下午
|
* @Date: 2021/8/26 4:51 下午
|
||||||
* @Desc: TODO
|
* @Desc: TODO
|
||||||
*/
|
*/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* @Author: Echo
|
* @Author: fuxiao
|
||||||
* @Email: 1711788888@qq.com
|
* @Email: 576101059@qq.com
|
||||||
* @Date: 2021/8/26 6:21 下午
|
* @Date: 2021/8/26 6:21 下午
|
||||||
* @Desc: TODO
|
* @Desc: TODO
|
||||||
*/
|
*/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* @Author: Echo
|
* @Author: fuxiao
|
||||||
* @Email: 1711788888@qq.com
|
* @Email: 576101059@qq.com
|
||||||
* @Date: 2021/8/16 3:47 下午
|
* @Date: 2021/8/16 3:47 下午
|
||||||
* @Desc: TODO
|
* @Desc: TODO
|
||||||
*/
|
*/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* @Author: Echo
|
* @Author: fuxiao
|
||||||
* @Email: 1711788888@qq.com
|
* @Email: 576101059@qq.com
|
||||||
* @Date: 2021/8/16 9:47 上午
|
* @Date: 2021/8/16 9:47 上午
|
||||||
* @Desc: request's middleware
|
* @Desc: request's middleware
|
||||||
*/
|
*/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* @Author: Echo
|
* @Author: fuxiao
|
||||||
* @Email: 1711788888@qq.com
|
* @Email: 576101059@qq.com
|
||||||
* @Date: 2021/8/16 9:40 上午
|
* @Date: 2021/8/16 9:40 上午
|
||||||
* @Desc: TODO
|
* @Desc: TODO
|
||||||
*/
|
*/
|
||||||
@ -14,7 +14,6 @@ import (
|
|||||||
"encoding/xml"
|
"encoding/xml"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"git.echol.cn/loser/http/internal"
|
|
||||||
"io"
|
"io"
|
||||||
"log"
|
"log"
|
||||||
"mime/multipart"
|
"mime/multipart"
|
||||||
@ -24,6 +23,8 @@ import (
|
|||||||
"regexp"
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/dobyte/http/internal"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* @Author: Echo
|
* @Author: fuxiao
|
||||||
* @Email: 1711788888@qq.com
|
* @Email: 576101059@qq.com
|
||||||
* @Date: 2021/8/15 4:56 下午
|
* @Date: 2021/8/15 4:56 下午
|
||||||
* @Desc: TODO
|
* @Desc: TODO
|
||||||
*/
|
*/
|
||||||
@ -8,10 +8,11 @@
|
|||||||
package http
|
package http
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.echol.cn/loser/http/internal"
|
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"net/http"
|
"net/http"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
|
"github.com/dobyte/http/internal"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Response struct {
|
type Response struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user