Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
9f29f019ad |
@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* @Author: fuxiao
|
* @Author: Echo
|
||||||
* @Email: 576101059@qq.com
|
* @Email: 1711788888@qq.com
|
||||||
* @Date: 2021/8/14 4:11 下午
|
* @Date: 2021/8/14 4:11 下午
|
||||||
* @Desc: TODO
|
* @Desc: TODO
|
||||||
*/
|
*/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* @Author: fuxiao
|
* @Author: Echo
|
||||||
* @Email: 576101059@qq.com
|
* @Email: 1711788888@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"
|
||||||
|
|
||||||
"github.com/dobyte/http"
|
"git.echol.cn/loser/http"
|
||||||
)
|
)
|
||||||
|
|
||||||
const token = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlc2MiOjE2MjgwNDAzMjYxNTQ2MzIwMDAsImV4cCI6MTYyODIyMDMyNiwiaWF0IjoxNjI4MDQwMzI2LCJpZCI6MX0.KM19c6URIih-5SyycYIjNAdSiPKxMQEz3DoROm0N3nw"
|
const token = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlc2MiOjE2MjgwNDAzMjYxNTQ2MzIwMDAsImV4cCI6MTYyODIyMDMyNiwiaWF0IjoxNjI4MDQwMzI2LCJpZCI6MX0.KM19c6URIih-5SyycYIjNAdSiPKxMQEz3DoROm0N3nw"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* @Author: fuxiao
|
* @Author: Echo
|
||||||
* @Email: 576101059@qq.com
|
* @Email: 1711788888@qq.com
|
||||||
* @Date: 2021/8/26 1:59 下午
|
* @Date: 2021/8/26 1:59 下午
|
||||||
* @Desc: TODO
|
* @Desc: TODO
|
||||||
*/
|
*/
|
||||||
@ -8,10 +8,9 @@
|
|||||||
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: fuxiao
|
* @Author: Echo
|
||||||
* @Email: 576101059@qq.com
|
* @Email: 1711788888@qq.com
|
||||||
* @Date: 2021/8/26 5:00 下午
|
* @Date: 2021/8/26 5:00 下午
|
||||||
* @Desc: TODO
|
* @Desc: TODO
|
||||||
*/
|
*/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* @Author: fuxiao
|
* @Author: Echo
|
||||||
* @Email: 576101059@qq.com
|
* @Email: 1711788888@qq.com
|
||||||
* @Date: 2021/8/26 4:59 下午
|
* @Date: 2021/8/26 4:59 下午
|
||||||
* @Desc: TODO
|
* @Desc: TODO
|
||||||
*/
|
*/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* @Author: fuxiao
|
* @Author: Echo
|
||||||
* @Email: 576101059@qq.com
|
* @Email: 1711788888@qq.com
|
||||||
* @Date: 2021/8/26 4:51 下午
|
* @Date: 2021/8/26 4:51 下午
|
||||||
* @Desc: TODO
|
* @Desc: TODO
|
||||||
*/
|
*/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* @Author: fuxiao
|
* @Author: Echo
|
||||||
* @Email: 576101059@qq.com
|
* @Email: 1711788888@qq.com
|
||||||
* @Date: 2021/8/26 6:21 下午
|
* @Date: 2021/8/26 6:21 下午
|
||||||
* @Desc: TODO
|
* @Desc: TODO
|
||||||
*/
|
*/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* @Author: fuxiao
|
* @Author: Echo
|
||||||
* @Email: 576101059@qq.com
|
* @Email: 1711788888@qq.com
|
||||||
* @Date: 2021/8/16 3:47 下午
|
* @Date: 2021/8/16 3:47 下午
|
||||||
* @Desc: TODO
|
* @Desc: TODO
|
||||||
*/
|
*/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* @Author: fuxiao
|
* @Author: Echo
|
||||||
* @Email: 576101059@qq.com
|
* @Email: 1711788888@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: fuxiao
|
* @Author: Echo
|
||||||
* @Email: 576101059@qq.com
|
* @Email: 1711788888@qq.com
|
||||||
* @Date: 2021/8/16 9:40 上午
|
* @Date: 2021/8/16 9:40 上午
|
||||||
* @Desc: TODO
|
* @Desc: TODO
|
||||||
*/
|
*/
|
||||||
@ -14,6 +14,7 @@ import (
|
|||||||
"encoding/xml"
|
"encoding/xml"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"git.echol.cn/loser/http/internal"
|
||||||
"io"
|
"io"
|
||||||
"log"
|
"log"
|
||||||
"mime/multipart"
|
"mime/multipart"
|
||||||
@ -23,8 +24,6 @@ import (
|
|||||||
"regexp"
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/dobyte/http/internal"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* @Author: fuxiao
|
* @Author: Echo
|
||||||
* @Email: 576101059@qq.com
|
* @Email: 1711788888@qq.com
|
||||||
* @Date: 2021/8/15 4:56 下午
|
* @Date: 2021/8/15 4:56 下午
|
||||||
* @Desc: TODO
|
* @Desc: TODO
|
||||||
*/
|
*/
|
||||||
@ -8,11 +8,10 @@
|
|||||||
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